Inheritance: System.Data.Objects.DataClasses.EntityObject
Ejemplo n.º 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(country country)
 {
     base.AddObject("countries", country);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new country object.
 /// </summary>
 /// <param name="country_id">Initial value of the country_id property.</param>
 /// <param name="country1">Initial value of the country1 property.</param>
 /// <param name="last_update">Initial value of the last_update property.</param>
 public static country Createcountry(global::System.Int32 country_id, global::System.String country1, global::System.DateTime last_update)
 {
     country country = new country();
     country.country_id = country_id;
     country.country1 = country1;
     country.last_update = last_update;
     return country;
 }