/// <summary> /// Deprecated Method for adding a new object to the GeoZones EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGeoZones(GeoZone geoZone) { base.AddObject("GeoZones", geoZone); }
/// <summary> /// Create a new GeoZone object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="countryGuid">Initial value of the CountryGuid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="code">Initial value of the Code property.</param> public static GeoZone CreateGeoZone(global::System.Guid guid, global::System.Guid countryGuid, global::System.String name, global::System.String code) { GeoZone geoZone = new GeoZone(); geoZone.Guid = guid; geoZone.CountryGuid = countryGuid; geoZone.Name = name; geoZone.Code = code; return geoZone; }