/// <summary> /// Deprecated Method for adding a new object to the GeoCountries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGeoCountries(GeoCountry geoCountry) { base.AddObject("GeoCountries", geoCountry); }
/// <summary> /// Create a new GeoCountry object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="iSOCode2">Initial value of the ISOCode2 property.</param> /// <param name="iSOCode3">Initial value of the ISOCode3 property.</param> public static GeoCountry CreateGeoCountry(global::System.Guid guid, global::System.String name, global::System.String iSOCode2, global::System.String iSOCode3) { GeoCountry geoCountry = new GeoCountry(); geoCountry.Guid = guid; geoCountry.Name = name; geoCountry.ISOCode2 = iSOCode2; geoCountry.ISOCode3 = iSOCode3; return geoCountry; }