/// <summary> /// Deprecated Method for adding a new object to the ZoneCities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToZoneCities(ZoneCity zoneCity) { base.AddObject("ZoneCities", zoneCity); }
/// <summary> /// Create a new ZoneCity object. /// </summary> /// <param name="zoneCityId">Initial value of the ZoneCityId property.</param> public static ZoneCity CreateZoneCity(global::System.Int32 zoneCityId) { ZoneCity zoneCity = new ZoneCity(); zoneCity.ZoneCityId = zoneCityId; return zoneCity; }