示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EventReservations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventReservations(EventReservation eventReservation)
 {
     base.AddObject("EventReservations", eventReservation);
 }
示例#2
0
 /// <summary>
 /// Create a new EventReservation object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="eventID">Initial value of the EventID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="probability">Initial value of the Probability property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static EventReservation CreateEventReservation(global::System.Int64 id, global::System.Int64 eventID, global::System.Int64 userID, global::System.Int32 probability, global::System.DateTime createDate)
 {
     EventReservation eventReservation = new EventReservation();
     eventReservation.ID = id;
     eventReservation.EventID = eventID;
     eventReservation.UserID = userID;
     eventReservation.Probability = probability;
     eventReservation.CreateDate = createDate;
     return eventReservation;
 }