コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FactResellerSales EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFactResellerSales(FactResellerSale factResellerSale)
 {
     base.AddObject("FactResellerSales", factResellerSale);
 }
コード例 #2
0
 /// <summary>
 /// Create a new FactResellerSale 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="resellerKey">Initial value of the ResellerKey property.</param>
 /// <param name="employeeKey">Initial value of the EmployeeKey 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>
 public static FactResellerSale CreateFactResellerSale(global::System.Int32 productKey, global::System.Int32 orderDateKey, global::System.Int32 dueDateKey, global::System.Int32 shipDateKey, global::System.Int32 resellerKey, global::System.Int32 employeeKey, global::System.Int32 promotionKey, global::System.Int32 currencyKey, global::System.Int32 salesTerritoryKey, global::System.String salesOrderNumber, global::System.Byte salesOrderLineNumber)
 {
     FactResellerSale factResellerSale = new FactResellerSale();
     factResellerSale.ProductKey = productKey;
     factResellerSale.OrderDateKey = orderDateKey;
     factResellerSale.DueDateKey = dueDateKey;
     factResellerSale.ShipDateKey = shipDateKey;
     factResellerSale.ResellerKey = resellerKey;
     factResellerSale.EmployeeKey = employeeKey;
     factResellerSale.PromotionKey = promotionKey;
     factResellerSale.CurrencyKey = currencyKey;
     factResellerSale.SalesTerritoryKey = salesTerritoryKey;
     factResellerSale.SalesOrderNumber = salesOrderNumber;
     factResellerSale.SalesOrderLineNumber = salesOrderLineNumber;
     return factResellerSale;
 }