/// <summary> /// Create a new building object. /// </summary> /// <param name="building_id">Initial value of the building_id property.</param> /// <param name="country_id">Initial value of the country_id property.</param> public static building Createbuilding(global::System.Int32 building_id, global::System.Int32 country_id) { building building = new building(); building.building_id = building_id; building.country_id = country_id; return building; }
/// <summary> /// Deprecated Method for adding a new object to the buildings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobuildings(building building) { base.AddObject("buildings", building); }