/// <summary>
 /// Deprecated Method for adding a new object to the BuildingAmenities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBuildingAmenities(BuildingAmenity buildingAmenity)
 {
     base.AddObject("BuildingAmenities", buildingAmenity);
 }
 /// <summary>
 /// Create a new BuildingAmenity object.
 /// </summary>
 /// <param name="buildingId">Initial value of the BuildingId property.</param>
 /// <param name="amenityId">Initial value of the AmenityId property.</param>
 public static BuildingAmenity CreateBuildingAmenity(global::System.Int64 buildingId, global::System.String amenityId)
 {
     BuildingAmenity buildingAmenity = new BuildingAmenity();
     buildingAmenity.BuildingId = buildingId;
     buildingAmenity.AmenityId = amenityId;
     return buildingAmenity;
 }