/// <summary>
 /// 用于向 HAWB EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToHAWB(HAWB hAWB)
 {
     base.AddObject("HAWB", hAWB);
 }
 /// <summary>
 /// 创建新的 HAWB 对象。
 /// </summary>
 /// <param name="hID">HID 属性的初始值。</param>
 /// <param name="settleType">SettleType 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 /// <param name="status">Status 属性的初始值。</param>
 /// <param name="shipperName">ShipperName 属性的初始值。</param>
 /// <param name="shipperContactor">ShipperContactor 属性的初始值。</param>
 /// <param name="shipperCountry">ShipperCountry 属性的初始值。</param>
 /// <param name="shipperRegion">ShipperRegion 属性的初始值。</param>
 /// <param name="shipperAddress">ShipperAddress 属性的初始值。</param>
 /// <param name="shipperZipCode">ShipperZipCode 属性的初始值。</param>
 /// <param name="shipperTel">ShipperTel 属性的初始值。</param>
 /// <param name="consigneeContactor">ConsigneeContactor 属性的初始值。</param>
 /// <param name="consigneeCountry">ConsigneeCountry 属性的初始值。</param>
 /// <param name="consigneeRegion">ConsigneeRegion 属性的初始值。</param>
 /// <param name="consigneeAddress">ConsigneeAddress 属性的初始值。</param>
 /// <param name="consigneeZipCode">ConsigneeZipCode 属性的初始值。</param>
 /// <param name="consigneeTel">ConsigneeTel 属性的初始值。</param>
 /// <param name="weightType">WeightType 属性的初始值。</param>
 /// <param name="totalVolume">TotalVolume 属性的初始值。</param>
 /// <param name="totalWeight">TotalWeight 属性的初始值。</param>
 /// <param name="piece">Piece 属性的初始值。</param>
 /// <param name="isInternational">IsInternational 属性的初始值。</param>
 public static HAWB CreateHAWB(global::System.Guid hID, global::System.Int32 settleType, global::System.DateTime createTime, global::System.Int32 status, global::System.String shipperName, global::System.String shipperContactor, global::System.String shipperCountry, global::System.String shipperRegion, global::System.String shipperAddress, global::System.String shipperZipCode, global::System.String shipperTel, global::System.String consigneeContactor, global::System.String consigneeCountry, global::System.String consigneeRegion, global::System.String consigneeAddress, global::System.String consigneeZipCode, global::System.String consigneeTel, global::System.Int32 weightType, global::System.Decimal totalVolume, global::System.Decimal totalWeight, global::System.Int32 piece, global::System.Boolean isInternational)
 {
     HAWB hAWB = new HAWB();
     hAWB.HID = hID;
     hAWB.SettleType = settleType;
     hAWB.CreateTime = createTime;
     hAWB.Status = status;
     hAWB.ShipperName = shipperName;
     hAWB.ShipperContactor = shipperContactor;
     hAWB.ShipperCountry = shipperCountry;
     hAWB.ShipperRegion = shipperRegion;
     hAWB.ShipperAddress = shipperAddress;
     hAWB.ShipperZipCode = shipperZipCode;
     hAWB.ShipperTel = shipperTel;
     hAWB.ConsigneeContactor = consigneeContactor;
     hAWB.ConsigneeCountry = consigneeCountry;
     hAWB.ConsigneeRegion = consigneeRegion;
     hAWB.ConsigneeAddress = consigneeAddress;
     hAWB.ConsigneeZipCode = consigneeZipCode;
     hAWB.ConsigneeTel = consigneeTel;
     hAWB.WeightType = weightType;
     hAWB.TotalVolume = totalVolume;
     hAWB.TotalWeight = totalWeight;
     hAWB.Piece = piece;
     hAWB.IsInternational = isInternational;
     return hAWB;
 }