コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CountryMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCountryMasters(CountryMaster countryMaster)
 {
     base.AddObject("CountryMasters", countryMaster);
 }
コード例 #2
0
 /// <summary>
 /// Create a new CountryMaster object.
 /// </summary>
 /// <param name="countryID">Initial value of the CountryID property.</param>
 public static CountryMaster CreateCountryMaster(global::System.Int32 countryID)
 {
     CountryMaster countryMaster = new CountryMaster();
     countryMaster.CountryID = countryID;
     return countryMaster;
 }