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