/// <summary> /// Deprecated Method for adding a new object to the Zones EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToZones(Zone zone) { base.AddObject("Zones", zone); }
/// <summary> /// Create a new Zone object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="urlId">Initial value of the UrlId property.</param> public static Zone CreateZone(global::System.Guid id, global::System.String name, global::System.Guid cityId, global::System.String urlId) { Zone zone = new Zone(); zone.Id = id; zone.Name = name; zone.CityId = cityId; zone.UrlId = urlId; return zone; }