コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DeliveryNoteItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDeliveryNoteItems(DeliveryNoteItem deliveryNoteItem)
 {
     base.AddObject("DeliveryNoteItems", deliveryNoteItem);
 }
コード例 #2
0
 /// <summary>
 /// Create a new DeliveryNoteItem object.
 /// </summary>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="terminalCode">Initial value of the TerminalCode property.</param>
 /// <param name="deliveryNoteHeaderCode">Initial value of the DeliveryNoteHeaderCode property.</param>
 /// <param name="enable">Initial value of the Enable property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="batch">Initial value of the Batch property.</param>
 /// <param name="productCode">Initial value of the ProductCode property.</param>
 /// <param name="productMasterCode">Initial value of the ProductMasterCode property.</param>
 /// <param name="productByWeight">Initial value of the ProductByWeight property.</param>
 /// <param name="priceValue">Initial value of the PriceValue property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 public static DeliveryNoteItem CreateDeliveryNoteItem(global::System.Int32 code, global::System.Int32 terminalCode, global::System.Int32 deliveryNoteHeaderCode, global::System.Boolean enable, global::System.Int16 status, global::System.String batch, global::System.Int32 productCode, global::System.String productMasterCode, global::System.Boolean productByWeight, global::System.Double priceValue, global::System.Double quantity)
 {
     DeliveryNoteItem deliveryNoteItem = new DeliveryNoteItem();
     deliveryNoteItem.Code = code;
     deliveryNoteItem.TerminalCode = terminalCode;
     deliveryNoteItem.DeliveryNoteHeaderCode = deliveryNoteHeaderCode;
     deliveryNoteItem.Enable = enable;
     deliveryNoteItem.Status = status;
     deliveryNoteItem.Batch = batch;
     deliveryNoteItem.ProductCode = productCode;
     deliveryNoteItem.ProductMasterCode = productMasterCode;
     deliveryNoteItem.ProductByWeight = productByWeight;
     deliveryNoteItem.PriceValue = priceValue;
     deliveryNoteItem.Quantity = quantity;
     return deliveryNoteItem;
 }