コード例 #1
0
 /// <summary>
 /// Create a new Round object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="numberOfStudentInMeeting">Initial value of the NumberOfStudentInMeeting property.</param>
 /// <param name="numberOfMeetingsInRound">Initial value of the NumberOfMeetingsInRound property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="activity_Round">Initial value of the Activity_Round property.</param>
 public static Round CreateRound(global::System.Int32 id, global::System.Int32 numberOfStudentInMeeting, global::System.Int32 numberOfMeetingsInRound, global::System.Byte[] rowVersion, global::System.Int32 activity_Round)
 {
     Round round = new Round();
     round.Id = id;
     round.NumberOfStudentInMeeting = numberOfStudentInMeeting;
     round.NumberOfMeetingsInRound = numberOfMeetingsInRound;
     round.RowVersion = rowVersion;
     round.Activity_Round = activity_Round;
     return round;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Rounds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRounds(Round round)
 {
     base.AddObject("Rounds", round);
 }