Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the countries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocountries(country country)
 {
     base.AddObject("countries", country);
 }
Пример #2
0
 /// <summary>
 /// Create a new country object.
 /// </summary>
 /// <param name="countryName">Initial value of the CountryName property.</param>
 /// <param name="countryCode">Initial value of the CountryCode property.</param>
 public static country Createcountry(global::System.String countryName, global::System.String countryCode)
 {
     country country = new country();
     country.CountryName = countryName;
     country.CountryCode = countryCode;
     return country;
 }