/// <summary>
        /// Create a new country_data object.
        /// </summary>
        /// <param name="countryname">Initial value of the Countryname property.</param>
        /// <param name="population">Initial value of the Population property.</param>
        public static country_data Createcountry_data(global::System.String countryname, global::System.Int32 population)
        {
            country_data country_data = new country_data();

            country_data.Countryname = countryname;
            country_data.Population  = population;
            return(country_data);
        }
 /// <summary>
 /// Create a new country_data object.
 /// </summary>
 /// <param name="countryname">Initial value of the Countryname property.</param>
 /// <param name="population">Initial value of the Population property.</param>
 public static country_data Createcountry_data(global::System.String countryname, global::System.Int32 population)
 {
     country_data country_data = new country_data();
     country_data.Countryname = countryname;
     country_data.Population = population;
     return country_data;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the country_data EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocountry_data(country_data country_data)
 {
     base.AddObject("country_data", country_data);
 }
 private bool Filtercountry_data(country_data entity)
 {
     return (entity.Reg_id == this.Reg_Id);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the country_data EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocountry_data(country_data country_data)
 {
     base.AddObject("country_data", country_data);
 }
 private void Detachcountry_data(country_data entity)
 {
     entity.registration = null;
 }
 private void Attachcountry_data(country_data entity)
 {
     entity.registration = this;
 }
 private bool Filtercountry_data(country_data entity)
 {
     return(entity.Reg_id == this.Reg_Id);
 }
 private void Detachcountry_data(country_data entity)
 {
     entity.registration = null;
 }
 private void Attachcountry_data(country_data entity)
 {
     entity.registration = this;
 }