/// <summary> /// Create a new UserSelection object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="gameID">Initial value of the GameID property.</param> /// <param name="selectedTeamID">Initial value of the SelectedTeamID property.</param> /// <param name="userID">Initial value of the UserID property.</param> public static UserSelection CreateUserSelection(global::System.Int64 id, global::System.Int64 gameID, global::System.Int64 selectedTeamID, global::System.Guid userID) { UserSelection userSelection = new UserSelection(); userSelection.ID = id; userSelection.GameID = gameID; userSelection.SelectedTeamID = selectedTeamID; userSelection.UserID = userID; return userSelection; }
/// <summary> /// Deprecated Method for adding a new object to the UserSelections EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserSelections(UserSelection userSelection) { base.AddObject("UserSelections", userSelection); }