Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SessionAttendees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSessionAttendees(SessionAttendee sessionAttendee)
 {
     base.AddObject("SessionAttendees", sessionAttendee);
 }
Example #2
0
 /// <summary>
 /// Create a new SessionAttendee object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="eventAttendeeId">Initial value of the EventAttendeeId property.</param>
 /// <param name="checkedIn">Initial value of the CheckedIn property.</param>
 /// <param name="sessionId">Initial value of the SessionId property.</param>
 public static SessionAttendee CreateSessionAttendee(global::System.Int32 id, global::System.Int32 eventAttendeeId, global::System.String checkedIn, global::System.Int32 sessionId)
 {
     SessionAttendee sessionAttendee = new SessionAttendee();
     sessionAttendee.Id = id;
     sessionAttendee.EventAttendeeId = eventAttendeeId;
     sessionAttendee.CheckedIn = checkedIn;
     sessionAttendee.SessionId = sessionId;
     return sessionAttendee;
 }