/// <summary>
 /// Deprecated Method for adding a new object to the ReceivePallets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReceivePallets(ReceivePallet receivePallet)
 {
     base.AddObject("ReceivePallets", receivePallet);
 }
 /// <summary>
 /// Create a new ReceivePallet object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="reservedStock">Initial value of the ReservedStock property.</param>
 public static ReceivePallet CreateReceivePallet(global::System.Int32 id, global::System.Int32 reservedStock)
 {
     ReceivePallet receivePallet = new ReceivePallet();
     receivePallet.ID = id;
     receivePallet.ReservedStock = reservedStock;
     return receivePallet;
 }