/// <summary> /// Deprecated Method for adding a new object to the Ticket EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTicket(Ticket ticket) { base.AddObject("Ticket", ticket); }
/// <summary> /// Create a new Ticket object. /// </summary> /// <param name="ticket_ID">Initial value of the Ticket_ID property.</param> /// <param name="ticket_Increment">Initial value of the Ticket_Increment property.</param> /// <param name="ticket_StateID">Initial value of the Ticket_StateID property.</param> /// <param name="ticket_Email">Initial value of the Ticket_Email property.</param> /// <param name="ticket_Queue_ID">Initial value of the Ticket_Queue_ID property.</param> /// <param name="ticket_Password">Initial value of the Ticket_Password property.</param> public static Ticket CreateTicket(global::System.Guid ticket_ID, global::System.Int64 ticket_Increment, global::System.Int16 ticket_StateID, global::System.String ticket_Email, global::System.Guid ticket_Queue_ID, global::System.String ticket_Password) { Ticket ticket = new Ticket(); ticket.Ticket_ID = ticket_ID; ticket.Ticket_Increment = ticket_Increment; ticket.Ticket_StateID = ticket_StateID; ticket.Ticket_Email = ticket_Email; ticket.Ticket_Queue_ID = ticket_Queue_ID; ticket.Ticket_Password = ticket_Password; return ticket; }