Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new EventAttendee object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="checkedIn">Initial value of the CheckedIn property.</param>
 /// <param name="raffleTicket">Initial value of the RaffleTicket property.</param>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="personId">Initial value of the PersonId property.</param>
 public static EventAttendee CreateEventAttendee(global::System.Int32 id, global::System.Boolean checkedIn, global::System.String raffleTicket, global::System.Int32 eventId, global::System.Int32 personId)
 {
     EventAttendee eventAttendee = new EventAttendee();
     eventAttendee.Id = id;
     eventAttendee.CheckedIn = checkedIn;
     eventAttendee.RaffleTicket = raffleTicket;
     eventAttendee.EventId = eventId;
     eventAttendee.PersonId = personId;
     return eventAttendee;
 }