예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TicketNotes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTicketNotes(TicketNote ticketNote)
 {
     base.AddObject("TicketNotes", ticketNote);
 }
예제 #2
0
 /// <summary>
 /// Create a new TicketNote object.
 /// </summary>
 /// <param name="ticketCode">Initial value of the ticketCode property.</param>
 /// <param name="type">Initial value of the type property.</param>
 /// <param name="sortIndex">Initial value of the sortIndex property.</param>
 /// <param name="content">Initial value of the content property.</param>
 /// <param name="enteringTime">Initial value of the enteringTime property.</param>
 /// <param name="enteringUserName">Initial value of the enteringUserName property.</param>
 public static TicketNote CreateTicketNote(global::System.String ticketCode, global::System.String type, global::System.Decimal sortIndex, global::System.String content, global::System.String enteringTime, global::System.String enteringUserName)
 {
     TicketNote ticketNote = new TicketNote();
     ticketNote.ticketCode = ticketCode;
     ticketNote.type = type;
     ticketNote.sortIndex = sortIndex;
     ticketNote.content = content;
     ticketNote.enteringTime = enteringTime;
     ticketNote.enteringUserName = enteringUserName;
     return ticketNote;
 }