Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 5
0
 /// <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;
 }