Exemplo n.º 1
0
 /// <summary>
 /// Create a new Match object.
 /// </summary>
 /// <param name="matchId">Initial value of the MatchId property.</param>
 /// <param name="roundId">Initial value of the RoundId property.</param>
 /// <param name="raceNumber">Initial value of the RaceNumber property.</param>
 public static Match CreateMatch(global::System.Int32 matchId, global::System.Int32 roundId, global::System.Int32 raceNumber)
 {
     Match match = new Match();
     match.MatchId = matchId;
     match.RoundId = roundId;
     match.RaceNumber = raceNumber;
     return match;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Matches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMatches(Match match)
 {
     base.AddObject("Matches", match);
 }