/// <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="zoneId">Initial value of the ZoneId property.</param> /// <param name="zoneName">Initial value of the ZoneName property.</param> public static Zone CreateZone(global::System.Int32 zoneId, global::System.String zoneName) { Zone zone = new Zone(); zone.ZoneId = zoneId; zone.ZoneName = zoneName; return zone; }