/// <summary>
 /// Create a new FactInternetSale object.
 /// </summary>
 /// <param name="productKey">Initial value of the ProductKey property.</param>
 /// <param name="orderDateKey">Initial value of the OrderDateKey property.</param>
 /// <param name="dueDateKey">Initial value of the DueDateKey property.</param>
 /// <param name="shipDateKey">Initial value of the ShipDateKey property.</param>
 /// <param name="customerKey">Initial value of the CustomerKey property.</param>
 /// <param name="promotionKey">Initial value of the PromotionKey property.</param>
 /// <param name="currencyKey">Initial value of the CurrencyKey property.</param>
 /// <param name="salesTerritoryKey">Initial value of the SalesTerritoryKey property.</param>
 /// <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.Int32 productKey, global::System.Int32 orderDateKey, global::System.Int32 dueDateKey, global::System.Int32 shipDateKey, global::System.Int32 customerKey, global::System.Int32 promotionKey, global::System.Int32 currencyKey, global::System.Int32 salesTerritoryKey, 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.ProductKey = productKey;
     factInternetSale.OrderDateKey = orderDateKey;
     factInternetSale.DueDateKey = dueDateKey;
     factInternetSale.ShipDateKey = shipDateKey;
     factInternetSale.CustomerKey = customerKey;
     factInternetSale.PromotionKey = promotionKey;
     factInternetSale.CurrencyKey = currencyKey;
     factInternetSale.SalesTerritoryKey = salesTerritoryKey;
     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&lt;T&gt; property instead.
 /// </summary>
 public void AddToFactInternetSales(FactInternetSale factInternetSale)
 {
     base.AddObject("FactInternetSales", factInternetSale);
 }