Пример #1
0
 /// <summary>
 /// Create a new OrderLine object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="detail">Initial value of the Detail property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="lineNum">Initial value of the LineNum property.</param>
 /// <param name="sysVersion">Initial value of the SysVersion property.</param>
 public static OrderLine CreateOrderLine(global::System.Int64 id, global::System.String detail, global::System.Int64 orderId, global::System.Int32 lineNum, global::System.Int64 sysVersion)
 {
     OrderLine orderLine = new OrderLine();
     orderLine.Id = id;
     orderLine.Detail = detail;
     orderLine.OrderId = orderId;
     orderLine.LineNum = lineNum;
     orderLine.SysVersion = sysVersion;
     return orderLine;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderLineSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderLineSet(OrderLine orderLine)
 {
     base.AddObject("OrderLineSet", orderLine);
 }