/// <summary>
 /// 用于向 Sale_Order_Detail EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSale_Order_Detail(Sale_Order_Detail sale_Order_Detail)
 {
     base.AddObject("Sale_Order_Detail", sale_Order_Detail);
 }
 /// <summary>
 /// 创建新的 Sale_Order_Detail 对象。
 /// </summary>
 /// <param name="intDetailID">intDetailID 属性的初始值。</param>
 /// <param name="vchOrderCode">vchOrderCode 属性的初始值。</param>
 /// <param name="intUserID">intUserID 属性的初始值。</param>
 /// <param name="intProductID">intProductID 属性的初始值。</param>
 /// <param name="vchProductPrinted">vchProductPrinted 属性的初始值。</param>
 /// <param name="vchProductName">vchProductName 属性的初始值。</param>
 /// <param name="intQty">intQty 属性的初始值。</param>
 /// <param name="numSalePrice">numSalePrice 属性的初始值。</param>
 /// <param name="numTotalAmount">numTotalAmount 属性的初始值。</param>
 /// <param name="intHerdPriceID">intHerdPriceID 属性的初始值。</param>
 /// <param name="intRtnQty">intRtnQty 属性的初始值。</param>
 /// <param name="intBaseStar">intBaseStar 属性的初始值。</param>
 /// <param name="intScores">intScores 属性的初始值。</param>
 /// <param name="dtOpDate">dtOpDate 属性的初始值。</param>
 /// <param name="intChannel">intChannel 属性的初始值。</param>
 /// <param name="intIsDelete">intIsDelete 属性的初始值。</param>
 /// <param name="intPromID">intPromID 属性的初始值。</param>
 /// <param name="intIsInvoice">intIsInvoice 属性的初始值。</param>
 public static Sale_Order_Detail CreateSale_Order_Detail(global::System.Int32 intDetailID, global::System.String vchOrderCode, global::System.Int32 intUserID, global::System.Int32 intProductID, global::System.String vchProductPrinted, global::System.String vchProductName, global::System.Int32 intQty, global::System.Decimal numSalePrice, global::System.Decimal numTotalAmount, global::System.Int32 intHerdPriceID, global::System.Int32 intRtnQty, global::System.Int32 intBaseStar, global::System.Int32 intScores, global::System.DateTime dtOpDate, global::System.Int32 intChannel, global::System.Byte intIsDelete, global::System.Int32 intPromID, global::System.Byte intIsInvoice)
 {
     Sale_Order_Detail sale_Order_Detail = new Sale_Order_Detail();
     sale_Order_Detail.intDetailID = intDetailID;
     sale_Order_Detail.vchOrderCode = vchOrderCode;
     sale_Order_Detail.intUserID = intUserID;
     sale_Order_Detail.intProductID = intProductID;
     sale_Order_Detail.vchProductPrinted = vchProductPrinted;
     sale_Order_Detail.vchProductName = vchProductName;
     sale_Order_Detail.intQty = intQty;
     sale_Order_Detail.numSalePrice = numSalePrice;
     sale_Order_Detail.numTotalAmount = numTotalAmount;
     sale_Order_Detail.intHerdPriceID = intHerdPriceID;
     sale_Order_Detail.intRtnQty = intRtnQty;
     sale_Order_Detail.intBaseStar = intBaseStar;
     sale_Order_Detail.intScores = intScores;
     sale_Order_Detail.dtOpDate = dtOpDate;
     sale_Order_Detail.intChannel = intChannel;
     sale_Order_Detail.intIsDelete = intIsDelete;
     sale_Order_Detail.intPromID = intPromID;
     sale_Order_Detail.intIsInvoice = intIsInvoice;
     return sale_Order_Detail;
 }