/// <summary> /// Create a new Zone object. /// </summary> /// <param name="zoneID">Initial value of the ZoneID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Zone CreateZone(global::System.Int32 zoneID, global::System.String name) { Zone zone = new Zone(); zone.ZoneID = zoneID; zone.Name = name; return zone; }
/// <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); }