/// <summary>
 /// Deprecated Method for adding a new object to the StockChecks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockChecks(StockCheck stockCheck)
 {
     base.AddObject("StockChecks", stockCheck);
 }
 /// <summary>
 /// Create a new StockCheck object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="stockCheckDate">Initial value of the StockCheckDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static StockCheck CreateStockCheck(global::System.Int32 id, global::System.DateTime stockCheckDate, global::System.Byte[] rowVersion)
 {
     StockCheck stockCheck = new StockCheck();
     stockCheck.Id = id;
     stockCheck.StockCheckDate = stockCheckDate;
     stockCheck.RowVersion = rowVersion;
     return stockCheck;
 }