コード例 #1
0
 /// <summary>
 /// Create a new country object.
 /// </summary>
 /// <param name="country_id">Initial value of the country_id property.</param>
 /// <param name="country_name">Initial value of the country_name property.</param>
 public static country Createcountry(global::System.Int32 country_id, global::System.String country_name)
 {
     country country = new country();
     country.country_id = country_id;
     country.country_name = country_name;
     return country;
 }
コード例 #2
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);
 }