コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StockSummaries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockSummaries(StockSummary stockSummary)
 {
     base.AddObject("StockSummaries", stockSummary);
 }