/// <summary> /// Create a new StockSummary object. /// </summary> /// <param name="productMasterCode">Initial value of the ProductMasterCode property.</param> /// <param name="terminalToCode">Initial value of the TerminalToCode property.</param> public static StockSummary CreateStockSummary(global::System.String productMasterCode, global::System.Int32 terminalToCode) { StockSummary stockSummary = new StockSummary(); stockSummary.ProductMasterCode = productMasterCode; stockSummary.TerminalToCode = terminalToCode; return stockSummary; }
/// <summary> /// Deprecated Method for adding a new object to the StockSummaries EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStockSummaries(StockSummary stockSummary) { base.AddObject("StockSummaries", stockSummary); }