/// <summary>
 /// Create a new Car object.
 /// </summary>
 /// <param name="carID">Initial value of the CarID property.</param>
 /// <param name="make">Initial value of the Make property.</param>
 /// <param name="color">Initial value of the Color property.</param>
 public static Car CreateCar(global::System.Int32 carID, global::System.String make, global::System.String color)
 {
     Car car = new Car();
     car.CarID = carID;
     car.Make = make;
     car.Color = color;
     return car;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Cars EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCars(Car car)
 {
     base.AddObject("Cars", car);
 }
Beispiel #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Cars EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCars(Car car)
 {
     base.AddObject("Cars", car);
 }