コード例 #1
0
ファイル: MTP.Designer.cs プロジェクト: vibhutisuthar/TEST
 /// <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
ファイル: MTP.Designer.cs プロジェクト: vibhutisuthar/TEST
 /// <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;
 }