/// <summary> /// Create a new Game object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="predictionType_Id">Initial value of the PredictionType_Id property.</param> public static Game CreateGame(global::System.Int32 id, global::System.Int32 predictionType_Id) { Game game = new Game(); game.Id = id; game.PredictionType_Id = predictionType_Id; return game; }
/// <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(Game game) { base.AddObject("Games", game); }