/// <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="addressLine1">Initial value of the AddressLine1 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="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> /// <param name="listingRemovedByAdmin">Initial value of the ListingRemovedByAdmin property.</param> public static Building CreateBuilding(global::System.Int32 buildingId, global::System.Guid userId, global::System.String addressLine1, global::System.String city, global::System.String state, global::System.String zip, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted, global::System.Boolean listingRemovedByAdmin) { Building building = new Building(); building.BuildingId = buildingId; building.UserId = userId; building.AddressLine1 = addressLine1; building.City = city; building.State = state; building.Zip = zip; building.CreateDate = createDate; building.CreatedBy = createdBy; building.IsDeleted = isDeleted; building.ListingRemovedByAdmin = listingRemovedByAdmin; return building; }
/// <summary> /// Deprecated Method for adding a new object to the Buildings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBuildings(Building building) { base.AddObject("Buildings", building); }