/// <summary> /// Deprecated Method for adding a new object to the cities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocities(city city) { base.AddObject("cities", city); }
/// <summary> /// Create a new city object. /// </summary> /// <param name="city_id">Initial value of the city_id property.</param> /// <param name="city1">Initial value of the city1 property.</param> /// <param name="country_id">Initial value of the country_id property.</param> /// <param name="last_update">Initial value of the last_update property.</param> public static city Createcity(global::System.Int32 city_id, global::System.String city1, global::System.Int32 country_id, global::System.DateTime last_update) { city city = new city(); city.city_id = city_id; city.city1 = city1; city.country_id = country_id; city.last_update = last_update; return city; }