/// <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); }
/// <summary> /// Create a new Pallet object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Pallet CreatePallet(global::System.Int32 id) { Pallet pallet = new Pallet(); pallet.ID = id; return pallet; }