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