/// <summary> /// Deprecated Method for adding a new object to the ScoreInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToScoreInfoes(ScoreInfo scoreInfo) { base.AddObject("ScoreInfoes", scoreInfo); }
/// <summary> /// Create a new ScoreInfo object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="matchID">Initial value of the MatchID property.</param> /// <param name="scorer">Initial value of the Scorer property.</param> /// <param name="scoreTime">Initial value of the ScoreTime property.</param> public static ScoreInfo CreateScoreInfo(global::System.Int64 id, global::System.Int64 matchID, global::System.String scorer, global::System.Int32 scoreTime) { ScoreInfo scoreInfo = new ScoreInfo(); scoreInfo.ID = id; scoreInfo.MatchID = matchID; scoreInfo.Scorer = scorer; scoreInfo.ScoreTime = scoreTime; return scoreInfo; }