/// <summary> /// Create a new country object. /// </summary> /// <param name="country_id">Initial value of the country_id property.</param> /// <param name="country_name">Initial value of the country_name property.</param> public static country Createcountry(global::System.Int32 country_id, global::System.String country_name) { country country = new country(); country.country_id = country_id; country.country_name = country_name; return country; }
/// <summary> /// Deprecated Method for adding a new object to the countries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocountries(country country) { base.AddObject("countries", country); }