/// <summary> /// Create a new Participant object. /// </summary> /// <param name="participantID">Initial value of the ParticipantID property.</param> public static Participant CreateParticipant(global::System.Int32 participantID) { Participant participant = new Participant(); participant.ParticipantID = participantID; return participant; }
/// <summary> /// Deprecated Method for adding a new object to the Participants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToParticipants(Participant participant) { base.AddObject("Participants", participant); }