/// <summary> /// Deprecated Method for adding a new object to the ZoneJeu EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToZoneJeu(Zone zone) { base.AddObject("ZoneJeu", zone); }
/// <summary> /// Create a new Zone object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="restaurantID">Initial value of the RestaurantID property.</param> public static Zone CreateZone(global::System.Int32 id, global::System.String description, global::System.Int32 restaurantID) { Zone zone = new Zone(); zone.ID = id; zone.Description = description; zone.RestaurantID = restaurantID; return zone; }