/// <summary> /// Deprecated Method for adding a new object to the Vehicles1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVehicles1(Vehicle vehicle) { base.AddObject("Vehicles1", vehicle); }
/// <summary> /// Create a new Vehicle object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static Vehicle CreateVehicle(global::System.Int32 id) { Vehicle vehicle = new Vehicle(); vehicle.Id = id; return vehicle; }