/// <summary> /// Create a new Participant object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="location">Initial value of the Location property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="date">Initial value of the Date property.</param> public static Participant CreateParticipant(global::System.Int32 id, global::System.String name, global::System.String location, global::System.String email, global::System.DateTime date) { Participant participant = new Participant(); participant.Id = id; participant.Name = name; participant.Location = location; participant.Email = email; participant.Date = date; 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); }