/// <summary> /// Create a new country object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="iso_code">Initial value of the iso_code property.</param> /// <param name="name">Initial value of the name property.</param> public static country Createcountry(global::System.Int32 id, global::System.String iso_code, global::System.String name) { country country = new country(); country.id = id; country.iso_code = iso_code; country.name = 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); }