/// <summary>
 /// Create a new SalesOrderLine object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="salesOrderId">Initial value of the salesOrderId property.</param>
 /// <param name="productId">Initial value of the productId property.</param>
 /// <param name="quantity">Initial value of the quantity property.</param>
 /// <param name="salesPrice">Initial value of the salesPrice property.</param>
 /// <param name="amount">Initial value of the amount property.</param>
 /// <param name="statusId">Initial value of the statusId property.</param>
 public static SalesOrderLine CreateSalesOrderLine(global::System.Int32 id, global::System.Int32 salesOrderId, global::System.Int32 productId, global::System.Int32 quantity, global::System.Double salesPrice, global::System.Double amount, global::System.Int32 statusId)
 {
     SalesOrderLine salesOrderLine = new SalesOrderLine();
     salesOrderLine.id = id;
     salesOrderLine.salesOrderId = salesOrderId;
     salesOrderLine.productId = productId;
     salesOrderLine.quantity = quantity;
     salesOrderLine.salesPrice = salesPrice;
     salesOrderLine.amount = amount;
     salesOrderLine.statusId = statusId;
     return salesOrderLine;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SalesOrderLine EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesOrderLine(SalesOrderLine salesOrderLine)
 {
     base.AddObject("SalesOrderLine", salesOrderLine);
 }