/// <summary>
 /// Create a new Building object.
 /// </summary>
 /// <param name="buildingId">Initial value of the BuildingId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="address1">Initial value of the Address1 property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="zip">Initial value of the Zip property.</param>
 /// <param name="latitude">Initial value of the Latitude property.</param>
 /// <param name="longitude">Initial value of the Longitude property.</param>
 /// <param name="propertyTypeCode">Initial value of the PropertyTypeCode property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 /// <param name="isCreditCheckRequired">Initial value of the IsCreditCheckRequired property.</param>
 /// <param name="isBackgroundCheckRequired">Initial value of the IsBackgroundCheckRequired property.</param>
 /// <param name="deposit">Initial value of the Deposit property.</param>
 /// <param name="refundableDeposit">Initial value of the RefundableDeposit property.</param>
 /// <param name="leaseLengthCode">Initial value of the LeaseLengthCode property.</param>
 /// <param name="isSmokingAllowed">Initial value of the IsSmokingAllowed property.</param>
 /// <param name="arePetsAllowed">Initial value of the ArePetsAllowed property.</param>
 /// <param name="isRemovedByAdmin">Initial value of the IsRemovedByAdmin property.</param>
 /// <param name="isReported">Initial value of the IsReported property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 /// <param name="hasPriority">Initial value of the HasPriority property.</param>
 /// <param name="petFee">Initial value of the PetFee property.</param>
 public static Building CreateBuilding(global::System.Int64 buildingId, global::System.Int32 userId, global::System.String address1, global::System.String city, global::System.String state, global::System.String zip, global::System.Single latitude, global::System.Single longitude, global::System.Int32 propertyTypeCode, global::System.Decimal price, global::System.Boolean isActive, global::System.Boolean isCreditCheckRequired, global::System.Boolean isBackgroundCheckRequired, global::System.Decimal deposit, global::System.Decimal refundableDeposit, global::System.Int32 leaseLengthCode, global::System.Boolean isSmokingAllowed, global::System.Boolean arePetsAllowed, global::System.Boolean isRemovedByAdmin, global::System.Boolean isReported, global::System.Boolean isDeleted, global::System.Boolean hasPriority, global::System.Decimal petFee)
 {
     Building building = new Building();
     building.BuildingId = buildingId;
     building.UserId = userId;
     building.Address1 = address1;
     building.City = city;
     building.State = state;
     building.Zip = zip;
     building.Latitude = latitude;
     building.Longitude = longitude;
     building.PropertyTypeCode = propertyTypeCode;
     building.Price = price;
     building.IsActive = isActive;
     building.IsCreditCheckRequired = isCreditCheckRequired;
     building.IsBackgroundCheckRequired = isBackgroundCheckRequired;
     building.Deposit = deposit;
     building.RefundableDeposit = refundableDeposit;
     building.LeaseLengthCode = leaseLengthCode;
     building.IsSmokingAllowed = isSmokingAllowed;
     building.ArePetsAllowed = arePetsAllowed;
     building.IsRemovedByAdmin = isRemovedByAdmin;
     building.IsReported = isReported;
     building.IsDeleted = isDeleted;
     building.HasPriority = hasPriority;
     building.PetFee = petFee;
     return building;
 }
 /// <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);
 }