Пример #1
0
 /// <summary>
 /// Create a new Participant object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static Participant CreateParticipant(global::System.Int32 id)
 {
     Participant participant = new Participant();
     participant.Id = id;
     return participant;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Participants EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToParticipants(Participant participant)
 {
     base.AddObject("Participants", participant);
 }