Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventAttendees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventAttendees(EventAttendee eventAttendee)
 {
     base.AddObject("EventAttendees", eventAttendee);
 }
Пример #2
0
 /// <summary>
 /// Create a new EventAttendee object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="event_ID">Initial value of the Event_ID property.</param>
 /// <param name="person_ID">Initial value of the Person_ID property.</param>
 public static EventAttendee CreateEventAttendee(global::System.Int32 id, global::System.Int32 event_ID, global::System.Int32 person_ID)
 {
     EventAttendee eventAttendee = new EventAttendee();
     eventAttendee.ID = id;
     eventAttendee.Event_ID = event_ID;
     eventAttendee.Person_ID = person_ID;
     return eventAttendee;
 }