/// <summary>
 /// Deprecated Method for adding a new object to the DeliveryNoteHeaders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDeliveryNoteHeaders(DeliveryNoteHeader deliveryNoteHeader)
 {
     base.AddObject("DeliveryNoteHeaders", deliveryNoteHeader);
 }
 /// <summary>
 /// Create a new DeliveryNoteHeader object.
 /// </summary>
 /// <param name="terminalCode">Initial value of the TerminalCode property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 public static DeliveryNoteHeader CreateDeliveryNoteHeader(global::System.Int32 terminalCode, global::System.Int32 code, global::System.DateTime date)
 {
     DeliveryNoteHeader deliveryNoteHeader = new DeliveryNoteHeader();
     deliveryNoteHeader.TerminalCode = terminalCode;
     deliveryNoteHeader.Code = code;
     deliveryNoteHeader.Date = date;
     return deliveryNoteHeader;
 }