/// <summary>
 /// Deprecated Method for adding a new object to the Package EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPackage(Package package)
 {
     base.AddObject("Package", package);
 }
 /// <summary>
 /// Create a new Package object.
 /// </summary>
 /// <param name="packageID">Initial value of the PackageID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="volume">Initial value of the Volume property.</param>
 /// <param name="volumeMeasureID">Initial value of the VolumeMeasureID property.</param>
 /// <param name="measureID">Initial value of the MeasureID property.</param>
 public static Package CreatePackage(global::System.Int32 packageID, global::System.Int32 productID, global::System.Decimal volume, global::System.Int32 volumeMeasureID, global::System.Int32 measureID)
 {
     Package package = new Package();
     package.PackageID = packageID;
     package.ProductID = productID;
     package.Volume = volume;
     package.VolumeMeasureID = volumeMeasureID;
     package.MeasureID = measureID;
     return package;
 }