예제 #1
0
 /// <summary>
 /// 用于向 Sale_Order_Prom_Rela EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSale_Order_Prom_Rela(Sale_Order_Prom_Rela sale_Order_Prom_Rela)
 {
     base.AddObject("Sale_Order_Prom_Rela", sale_Order_Prom_Rela);
 }
예제 #2
0
 /// <summary>
 /// 创建新的 Sale_Order_Prom_Rela 对象。
 /// </summary>
 /// <param name="intID">intID 属性的初始值。</param>
 /// <param name="vchOrderCode">vchOrderCode 属性的初始值。</param>
 /// <param name="intPromID">intPromID 属性的初始值。</param>
 /// <param name="dtCreateDate">dtCreateDate 属性的初始值。</param>
 /// <param name="intType">intType 属性的初始值。</param>
 /// <param name="intChannelID">intChannelID 属性的初始值。</param>
 /// <param name="intUserID">intUserID 属性的初始值。</param>
 public static Sale_Order_Prom_Rela CreateSale_Order_Prom_Rela(global::System.Int32 intID, global::System.String vchOrderCode, global::System.Int32 intPromID, global::System.DateTime dtCreateDate, global::System.Byte intType, global::System.Int32 intChannelID, global::System.Int32 intUserID)
 {
     Sale_Order_Prom_Rela sale_Order_Prom_Rela = new Sale_Order_Prom_Rela();
     sale_Order_Prom_Rela.intID = intID;
     sale_Order_Prom_Rela.vchOrderCode = vchOrderCode;
     sale_Order_Prom_Rela.intPromID = intPromID;
     sale_Order_Prom_Rela.dtCreateDate = dtCreateDate;
     sale_Order_Prom_Rela.intType = intType;
     sale_Order_Prom_Rela.intChannelID = intChannelID;
     sale_Order_Prom_Rela.intUserID = intUserID;
     return sale_Order_Prom_Rela;
 }