예제 #1
0
 /// <summary>
 /// Create a new CountryRegion object.
 /// </summary>
 /// <param name="countryRegionCode">Initial value of the CountryRegionCode property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static CountryRegion CreateCountryRegion(global::System.String countryRegionCode, global::System.String name, global::System.DateTime modifiedDate)
 {
     CountryRegion countryRegion = new CountryRegion();
     countryRegion.CountryRegionCode = countryRegionCode;
     countryRegion.Name = name;
     countryRegion.ModifiedDate = modifiedDate;
     return countryRegion;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CountryRegions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCountryRegions(CountryRegion countryRegion)
 {
     base.AddObject("CountryRegions", countryRegion);
 }