/// <summary> /// Create a new FactInternetSale object. /// </summary> /// <param name="salesOrderNumber">Initial value of the SalesOrderNumber property.</param> /// <param name="salesOrderLineNumber">Initial value of the SalesOrderLineNumber property.</param> /// <param name="revisionNumber">Initial value of the RevisionNumber property.</param> /// <param name="orderQuantity">Initial value of the OrderQuantity property.</param> /// <param name="unitPrice">Initial value of the UnitPrice property.</param> /// <param name="extendedAmount">Initial value of the ExtendedAmount property.</param> /// <param name="unitPriceDiscountPct">Initial value of the UnitPriceDiscountPct property.</param> /// <param name="discountAmount">Initial value of the DiscountAmount property.</param> /// <param name="productStandardCost">Initial value of the ProductStandardCost property.</param> /// <param name="totalProductCost">Initial value of the TotalProductCost property.</param> /// <param name="salesAmount">Initial value of the SalesAmount property.</param> /// <param name="taxAmt">Initial value of the TaxAmt property.</param> /// <param name="freight">Initial value of the Freight property.</param> public static FactInternetSale CreateFactInternetSale(global::System.String salesOrderNumber, global::System.Byte salesOrderLineNumber, global::System.Byte revisionNumber, global::System.Int16 orderQuantity, global::System.Decimal unitPrice, global::System.Decimal extendedAmount, global::System.Double unitPriceDiscountPct, global::System.Double discountAmount, global::System.Decimal productStandardCost, global::System.Decimal totalProductCost, global::System.Decimal salesAmount, global::System.Decimal taxAmt, global::System.Decimal freight) { FactInternetSale factInternetSale = new FactInternetSale(); factInternetSale.SalesOrderNumber = salesOrderNumber; factInternetSale.SalesOrderLineNumber = salesOrderLineNumber; factInternetSale.RevisionNumber = revisionNumber; factInternetSale.OrderQuantity = orderQuantity; factInternetSale.UnitPrice = unitPrice; factInternetSale.ExtendedAmount = extendedAmount; factInternetSale.UnitPriceDiscountPct = unitPriceDiscountPct; factInternetSale.DiscountAmount = discountAmount; factInternetSale.ProductStandardCost = productStandardCost; factInternetSale.TotalProductCost = totalProductCost; factInternetSale.SalesAmount = salesAmount; factInternetSale.TaxAmt = taxAmt; factInternetSale.Freight = freight; return factInternetSale; }
/// <summary> /// Deprecated Method for adding a new object to the FactInternetSales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFactInternetSales(FactInternetSale factInternetSale) { base.AddObject("FactInternetSales", factInternetSale); }