Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CstOrderLines EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCstOrderLines(CstOrderLine cstOrderLine)
 {
     base.AddObject("CstOrderLines", cstOrderLine);
 }
Пример #2
0
 /// <summary>
 /// Create a new CstOrderLine object.
 /// </summary>
 /// <param name="orderNo">Initial value of the OrderNo property.</param>
 /// <param name="orderLine">Initial value of the OrderLine property.</param>
 /// <param name="orderBU">Initial value of the OrderBU property.</param>
 /// <param name="lineTotal">Initial value of the LineTotal property.</param>
 public static CstOrderLine CreateCstOrderLine(global::System.String orderNo, global::System.Decimal orderLine, global::System.String orderBU, global::System.Decimal lineTotal)
 {
     CstOrderLine cstOrderLine = new CstOrderLine();
     cstOrderLine.OrderNo = orderNo;
     cstOrderLine.OrderLine = orderLine;
     cstOrderLine.OrderBU = orderBU;
     cstOrderLine.LineTotal = lineTotal;
     return cstOrderLine;
 }