Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the buildings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobuildings(building building)
 {
     base.AddObject("buildings", building);
 }