/// <summary> /// Create a new SavedBuilding object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="buildingId">Initial value of the BuildingId 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 SavedBuilding CreateSavedBuilding(global::System.Guid userId, global::System.Int64 buildingId, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted) { SavedBuilding savedBuilding = new SavedBuilding(); savedBuilding.UserId = userId; savedBuilding.BuildingId = buildingId; savedBuilding.CreateDate = createDate; savedBuilding.CreatedBy = createdBy; savedBuilding.IsDeleted = isDeleted; return savedBuilding; }
/// <summary> /// Deprecated Method for adding a new object to the SavedBuildings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSavedBuildings(SavedBuilding savedBuilding) { base.AddObject("SavedBuildings", savedBuilding); }