예제 #1
0
 /// <summary>
 /// Create a new SoccerMatch object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="matchName">Initial value of the MatchName property.</param>
 /// <param name="c_1stHalfScore">Initial value of the C_1stHalfScore property.</param>
 /// <param name="c_2ndHalfScore">Initial value of the C_2ndHalfScore property.</param>
 /// <param name="c_FTScore">Initial value of the C_FTScore property.</param>
 /// <param name="c_ET2Score">Initial value of the C_ET2Score property.</param>
 /// <param name="c_PenaltyScore">Initial value of the C_PenaltyScore property.</param>
 /// <param name="winningTeam">Initial value of the WinningTeam property.</param>
 /// <param name="homeTeam">Initial value of the HomeTeam property.</param>
 /// <param name="awayTeam">Initial value of the AwayTeam property.</param>
 /// <param name="soccer_MatchStats_XMLFile">Initial value of the Soccer_MatchStats_XMLFile property.</param>
 public static SoccerMatch CreateSoccerMatch(global::System.Int64 id, global::System.String matchName, global::System.String c_1stHalfScore, global::System.String c_2ndHalfScore, global::System.String c_FTScore, global::System.String c_ET2Score, global::System.String c_PenaltyScore, global::System.String winningTeam, global::System.String homeTeam, global::System.String awayTeam, global::System.String soccer_MatchStats_XMLFile)
 {
     SoccerMatch soccerMatch = new SoccerMatch();
     soccerMatch.ID = id;
     soccerMatch.MatchName = matchName;
     soccerMatch.C_1stHalfScore = c_1stHalfScore;
     soccerMatch.C_2ndHalfScore = c_2ndHalfScore;
     soccerMatch.C_FTScore = c_FTScore;
     soccerMatch.C_ET2Score = c_ET2Score;
     soccerMatch.C_PenaltyScore = c_PenaltyScore;
     soccerMatch.WinningTeam = winningTeam;
     soccerMatch.HomeTeam = homeTeam;
     soccerMatch.AwayTeam = awayTeam;
     soccerMatch.Soccer_MatchStats_XMLFile = soccer_MatchStats_XMLFile;
     return soccerMatch;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SoccerMatches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSoccerMatches(SoccerMatch soccerMatch)
 {
     base.AddObject("SoccerMatches", soccerMatch);
 }