/// <summary> /// Create a new ShopCar object. /// </summary> /// <param name="carId">Initial value of the CarId property.</param> public static ShopCar CreateShopCar(global::System.Int32 carId) { ShopCar shopCar = new ShopCar(); shopCar.CarId = carId; return shopCar; }
/// <summary> /// Deprecated Method for adding a new object to the ShopCars EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShopCars(ShopCar shopCar) { base.AddObject("ShopCars", shopCar); }