コード例 #1
0
 protected override object[] CreateValues()
 {
     object[] cars = new object[ObjectCount];
     for (int i = 0; i < cars.Length; i++)
     {
         QueryingMigrationTestCase.Car car = new QueryingMigrationTestCase.Car();
         car._name = "Car " + i;
         QueryingMigrationTestCase.Pilot pilot = new QueryingMigrationTestCase.Pilot();
         car._pilot  = pilot;
         pilot._name = "Pilot " + i;
         cars[i]     = car;
     }
     return(cars);
 }
コード例 #2
0
		protected override object[] CreateValues()
		{
			object[] cars = new object[ObjectCount];
			for (int i = 0; i < cars.Length; i++)
			{
				QueryingMigrationTestCase.Car car = new QueryingMigrationTestCase.Car();
				car._name = "Car " + i;
				QueryingMigrationTestCase.Pilot pilot = new QueryingMigrationTestCase.Pilot();
				car._pilot = pilot;
				pilot._name = "Pilot " + i;
				cars[i] = car;
			}
			return cars;
		}