Example #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(Countries countries)
 {
     base.AddObject("Countries", countries);
 }
Example #2
0
 /// <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;
 }