/// <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);
 }
 /// <summary>
 /// Create a new Building object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="sportSocietyID">Initial value of the SportSocietyID property.</param>
 public static Building CreateBuilding(global::System.Int32 id, global::System.Int32 sportSocietyID)
 {
     Building building = new Building();
     building.ID = id;
     building.SportSocietyID = sportSocietyID;
     return building;
 }