/// <summary>
 /// Create a new BuildingAmenitiesWithOption object.
 /// </summary>
 /// <param name="amenityId">Initial value of the AmenityId property.</param>
 /// <param name="buildingId">Initial value of the BuildingId property.</param>
 /// <param name="option">Initial value of the Option property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static BuildingAmenitiesWithOption CreateBuildingAmenitiesWithOption(global::System.Int32 amenityId, global::System.Int64 buildingId, global::System.String option, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     BuildingAmenitiesWithOption buildingAmenitiesWithOption = new BuildingAmenitiesWithOption();
     buildingAmenitiesWithOption.AmenityId = amenityId;
     buildingAmenitiesWithOption.BuildingId = buildingId;
     buildingAmenitiesWithOption.Option = option;
     buildingAmenitiesWithOption.CreateDate = createDate;
     buildingAmenitiesWithOption.CreatedBy = createdBy;
     buildingAmenitiesWithOption.IsDeleted = isDeleted;
     return buildingAmenitiesWithOption;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BuildingAmenitiesWithOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBuildingAmenitiesWithOptions(BuildingAmenitiesWithOption buildingAmenitiesWithOption)
 {
     base.AddObject("BuildingAmenitiesWithOptions", buildingAmenitiesWithOption);
 }