/// <summary>
 /// 创建新的 Package 对象。
 /// </summary>
 /// <param name="pID">PID 属性的初始值。</param>
 /// <param name="barCode">BarCode 属性的初始值。</param>
 /// <param name="piece">Piece 属性的初始值。</param>
 /// <param name="totalWeight">TotalWeight 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 /// <param name="updateTime">UpdateTime 属性的初始值。</param>
 /// <param name="operator">Operator 属性的初始值。</param>
 /// <param name="status">Status 属性的初始值。</param>
 /// <param name="isMixed">IsMixed 属性的初始值。</param>
 /// <param name="originalRegionCode">OriginalRegionCode 属性的初始值。</param>
 /// <param name="destinationRegionCode">DestinationRegionCode 属性的初始值。</param>
 public static Package CreatePackage(global::System.Guid pID, global::System.String barCode, global::System.Int32 piece, global::System.Decimal totalWeight, global::System.DateTime createTime, global::System.DateTime updateTime, global::System.String @operator, global::System.Int32 status, global::System.Boolean isMixed, global::System.String originalRegionCode, global::System.String destinationRegionCode)
 {
     Package package = new Package();
     package.PID = pID;
     package.BarCode = barCode;
     package.Piece = piece;
     package.TotalWeight = totalWeight;
     package.CreateTime = createTime;
     package.UpdateTime = updateTime;
     package.Operator = @operator;
     package.Status = status;
     package.IsMixed = isMixed;
     package.OriginalRegionCode = originalRegionCode;
     package.DestinationRegionCode = destinationRegionCode;
     return package;
 }
 /// <summary>
 /// 用于向 Package EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToPackage(Package package)
 {
     base.AddObject("Package", package);
 }