/// <summary>
 /// Deprecated Method for adding a new object to the SalesOrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSalesOrderDetails(SalesOrderDetail salesOrderDetail)
 {
     base.AddObject("SalesOrderDetails", salesOrderDetail);
 }
 /// <summary>
 /// Create a new SalesOrderDetail object.
 /// </summary>
 /// <param name="salesOrderID">Initial value of the SalesOrderID property.</param>
 /// <param name="salesOrderDetailID">Initial value of the SalesOrderDetailID property.</param>
 /// <param name="orderQty">Initial value of the OrderQty property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 /// <param name="unitPriceDiscount">Initial value of the UnitPriceDiscount property.</param>
 /// <param name="lineTotal">Initial value of the LineTotal property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static SalesOrderDetail CreateSalesOrderDetail(global::System.Int32 salesOrderID, global::System.Int32 salesOrderDetailID, global::System.Int16 orderQty, global::System.Decimal unitPrice, global::System.Decimal unitPriceDiscount, global::System.Decimal lineTotal, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     SalesOrderDetail salesOrderDetail = new SalesOrderDetail();
     salesOrderDetail.SalesOrderID = salesOrderID;
     salesOrderDetail.SalesOrderDetailID = salesOrderDetailID;
     salesOrderDetail.OrderQty = orderQty;
     salesOrderDetail.UnitPrice = unitPrice;
     salesOrderDetail.UnitPriceDiscount = unitPriceDiscount;
     salesOrderDetail.LineTotal = lineTotal;
     salesOrderDetail.rowguid = rowguid;
     salesOrderDetail.ModifiedDate = modifiedDate;
     return salesOrderDetail;
 }