/// <summary> /// Create a new games object. /// </summary> /// <param name="gameId">Initial value of the GameId property.</param> /// <param name="seasonId">Initial value of the SeasonId property.</param> /// <param name="divisionid">Initial value of the Divisionid property.</param> /// <param name="team1Id">Initial value of the Team1Id property.</param> /// <param name="team2Id">Initial value of the Team2Id property.</param> /// <param name="date">Initial value of the Date property.</param> public static games Creategames(global::System.Int64 gameId, global::System.Int64 seasonId, global::System.Int64 divisionid, global::System.Int64 team1Id, global::System.Int64 team2Id, global::System.DateTime date) { games games = new games(); games.GameId = gameId; games.SeasonId = seasonId; games.Divisionid = divisionid; games.Team1Id = team1Id; games.Team2Id = team2Id; games.Date = date; return games; }
/// <summary> /// Deprecated Method for adding a new object to the games EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTogames(games games) { base.AddObject("games", games); }