/// <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="description">Initial value of the Description property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> public static Zone CreateZone(global::System.String description, global::System.Int32 id, global::System.String title) { Zone zone = new Zone(); zone.Description = description; zone.Id = id; zone.Title = title; return zone; }