/// <summary>
 /// Create a new Pallet object.
 /// </summary>
 /// <param name="idStorageUnit">Initial value of the IdStorageUnit property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="quantityReserved">Initial value of the QuantityReserved property.</param>
 public static Pallet CreatePallet(global::System.Int32 idStorageUnit, global::System.Int32 quantity, global::System.Int32 quantityReserved)
 {
     Pallet pallet = new Pallet();
     pallet.IdStorageUnit = idStorageUnit;
     pallet.Quantity = quantity;
     pallet.QuantityReserved = quantityReserved;
     return pallet;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Pallets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPallets(Pallet pallet)
 {
     base.AddObject("Pallets", pallet);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Pallets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPallets(Pallet pallet)
 {
     base.AddObject("Pallets", pallet);
 }