コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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(Countries countries)
 {
     base.AddObject("Countries", countries);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <summary>
 /// Create a new Countries object.
 /// </summary>
 /// <param name="countryID">Initial value of the CountryID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Countries CreateCountries(global::System.Int32 countryID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Countries countries = new Countries();
     countries.CountryID = countryID;
     countries.AddDate = addDate;
     countries.RowVersion = rowVersion;
     return countries;
 }