예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tickets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTickets(Ticket ticket)
 {
     base.AddObject("Tickets", ticket);
 }
예제 #2
0
 /// <summary>
 /// Create a new Ticket object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="isAlreadyChecked">Initial value of the IsAlreadyChecked property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 public static Ticket CreateTicket(global::System.Int32 id, global::System.Boolean isAlreadyChecked, global::System.Guid userID)
 {
     Ticket ticket = new Ticket();
     ticket.ID = id;
     ticket.IsAlreadyChecked = isAlreadyChecked;
     ticket.UserID = userID;
     return ticket;
 }