/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Pallets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPallets(Pallet pallet) { base.AddObject("Pallets", pallet); }