예제 #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="code">Initial value of the code property.</param>
 /// <param name="version">Initial value of the version property.</param>
 /// <param name="contractCode">Initial value of the contractCode property.</param>
 /// <param name="companyCode">Initial value of the companyCode property.</param>
 /// <param name="officeCode">Initial value of the officeCode property.</param>
 /// <param name="officeVersion">Initial value of the officeVersion property.</param>
 /// <param name="employeeCode">Initial value of the employeeCode property.</param>
 /// <param name="employeeVersion">Initial value of the employeeVersion property.</param>
 /// <param name="priorityCode">Initial value of the priorityCode property.</param>
 /// <param name="ticketSourceCode">Initial value of the ticketSourceCode property.</param>
 /// <param name="ticketSourceAlt">Initial value of the ticketSourceAlt property.</param>
 /// <param name="issueSourceLvl1Code">Initial value of the issueSourceLvl1Code property.</param>
 /// <param name="issueSourceLvl2Code">Initial value of the issueSourceLvl2Code property.</param>
 /// <param name="issueSourceLvl3Code">Initial value of the issueSourceLvl3Code property.</param>
 /// <param name="issueSourceAlt">Initial value of the issueSourceAlt property.</param>
 /// <param name="requestedResponseCode">Initial value of the requestedResponseCode property.</param>
 /// <param name="statusCode">Initial value of the statusCode property.</param>
 /// <param name="causeCode">Initial value of the causeCode property.</param>
 /// <param name="actualResponseCode">Initial value of the actualResponseCode property.</param>
 /// <param name="enteringUserName">Initial value of the enteringUserName property.</param>
 /// <param name="enteringTime">Initial value of the enteringTime property.</param>
 /// <param name="assignedUserName">Initial value of the assignedUserName property.</param>
 /// <param name="solvedTime">Initial value of the solvedTime property.</param>
 /// <param name="respondingUserName">Initial value of the respondingUserName property.</param>
 /// <param name="respondingTime">Initial value of the respondingTime property.</param>
 /// <param name="updatingUserName">Initial value of the updatingUserName property.</param>
 /// <param name="updatingTime">Initial value of the updatingTime property.</param>
 public static Ticket CreateTicket(global::System.String code, global::System.Int32 version, global::System.Decimal contractCode, global::System.Decimal companyCode, global::System.String officeCode, global::System.Int32 officeVersion, global::System.String employeeCode, global::System.Int32 employeeVersion, global::System.String priorityCode, global::System.String ticketSourceCode, global::System.String ticketSourceAlt, global::System.String issueSourceLvl1Code, global::System.String issueSourceLvl2Code, global::System.String issueSourceLvl3Code, global::System.String issueSourceAlt, global::System.String requestedResponseCode, global::System.String statusCode, global::System.String causeCode, global::System.String actualResponseCode, global::System.String enteringUserName, global::System.String enteringTime, global::System.String assignedUserName, global::System.String solvedTime, global::System.String respondingUserName, global::System.String respondingTime, global::System.String updatingUserName, global::System.String updatingTime)
 {
     Ticket ticket = new Ticket();
     ticket.code = code;
     ticket.version = version;
     ticket.contractCode = contractCode;
     ticket.companyCode = companyCode;
     ticket.officeCode = officeCode;
     ticket.officeVersion = officeVersion;
     ticket.employeeCode = employeeCode;
     ticket.employeeVersion = employeeVersion;
     ticket.priorityCode = priorityCode;
     ticket.ticketSourceCode = ticketSourceCode;
     ticket.ticketSourceAlt = ticketSourceAlt;
     ticket.issueSourceLvl1Code = issueSourceLvl1Code;
     ticket.issueSourceLvl2Code = issueSourceLvl2Code;
     ticket.issueSourceLvl3Code = issueSourceLvl3Code;
     ticket.issueSourceAlt = issueSourceAlt;
     ticket.requestedResponseCode = requestedResponseCode;
     ticket.statusCode = statusCode;
     ticket.causeCode = causeCode;
     ticket.actualResponseCode = actualResponseCode;
     ticket.enteringUserName = enteringUserName;
     ticket.enteringTime = enteringTime;
     ticket.assignedUserName = assignedUserName;
     ticket.solvedTime = solvedTime;
     ticket.respondingUserName = respondingUserName;
     ticket.respondingTime = respondingTime;
     ticket.updatingUserName = updatingUserName;
     ticket.updatingTime = updatingTime;
     return ticket;
 }