Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InclSalesOrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInclSalesOrderDetails(InclSalesOrderDetail inclSalesOrderDetail)
 {
     base.AddObject("InclSalesOrderDetails", inclSalesOrderDetail);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new InclSalesOrderDetail 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="productID">Initial value of the ProductID property.</param>
 /// <param name="specialOfferID">Initial value of the SpecialOfferID 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>
 /// <param name="col1">Initial value of the Col1 property.</param>
 public static InclSalesOrderDetail CreateInclSalesOrderDetail(global::System.Int32 salesOrderID, global::System.Int32 salesOrderDetailID, global::System.Int16 orderQty, global::System.Int32 productID, global::System.Int32 specialOfferID, global::System.Decimal unitPrice, global::System.Decimal unitPriceDiscount, global::System.Decimal lineTotal, global::System.Guid rowguid, global::System.DateTime modifiedDate, global::System.String col1)
 {
     InclSalesOrderDetail inclSalesOrderDetail = new InclSalesOrderDetail();
     inclSalesOrderDetail.SalesOrderID = salesOrderID;
     inclSalesOrderDetail.SalesOrderDetailID = salesOrderDetailID;
     inclSalesOrderDetail.OrderQty = orderQty;
     inclSalesOrderDetail.ProductID = productID;
     inclSalesOrderDetail.SpecialOfferID = specialOfferID;
     inclSalesOrderDetail.UnitPrice = unitPrice;
     inclSalesOrderDetail.UnitPriceDiscount = unitPriceDiscount;
     inclSalesOrderDetail.LineTotal = lineTotal;
     inclSalesOrderDetail.rowguid = rowguid;
     inclSalesOrderDetail.ModifiedDate = modifiedDate;
     inclSalesOrderDetail.Col1 = col1;
     return inclSalesOrderDetail;
 }