Exemplo n.º 1
0
 /// <summary>
 /// Create a new RegisteredEvent object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="emailAddress">Initial value of the EmailAddress property.</param>
 public static RegisteredEvent CreateRegisteredEvent(global::System.Int32 id, global::System.Int32 eventId, global::System.String firstName, global::System.String lastName, global::System.String emailAddress)
 {
     RegisteredEvent registeredEvent = new RegisteredEvent();
     registeredEvent.Id = id;
     registeredEvent.EventId = eventId;
     registeredEvent.FirstName = firstName;
     registeredEvent.LastName = lastName;
     registeredEvent.EmailAddress = emailAddress;
     return registeredEvent;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegisteredEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegisteredEvents(RegisteredEvent registeredEvent)
 {
     base.AddObject("RegisteredEvents", registeredEvent);
 }