/// <summary> /// Deprecated Method for adding a new object to the Sales_Totals_by_Amounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSales_Totals_by_Amounts(Sales_Totals_by_Amount sales_Totals_by_Amount) { base.AddObject("Sales_Totals_by_Amounts", sales_Totals_by_Amount); }
/// <summary> /// Create a new Sales_Totals_by_Amount object. /// </summary> /// <param name="orderID">Initial value of the OrderID property.</param> /// <param name="companyName">Initial value of the CompanyName property.</param> public static Sales_Totals_by_Amount CreateSales_Totals_by_Amount(global::System.Int32 orderID, global::System.String companyName) { Sales_Totals_by_Amount sales_Totals_by_Amount = new Sales_Totals_by_Amount(); sales_Totals_by_Amount.OrderID = orderID; sales_Totals_by_Amount.CompanyName = companyName; return sales_Totals_by_Amount; }