/// <summary>
 /// Create a new MENUKHUYENMAI object.
 /// </summary>
 /// <param name="khuyenMaiID">Initial value of the KhuyenMaiID property.</param>
 /// <param name="kichThuocMonTang">Initial value of the KichThuocMonTang property.</param>
 /// <param name="visual">Initial value of the Visual property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="edit">Initial value of the Edit property.</param>
 public static MENUKHUYENMAI CreateMENUKHUYENMAI(global::System.Int32 khuyenMaiID, global::System.Int32 kichThuocMonTang, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit)
 {
     MENUKHUYENMAI mENUKHUYENMAI = new MENUKHUYENMAI();
     mENUKHUYENMAI.KhuyenMaiID = khuyenMaiID;
     mENUKHUYENMAI.KichThuocMonTang = kichThuocMonTang;
     mENUKHUYENMAI.Visual = visual;
     mENUKHUYENMAI.Deleted = deleted;
     mENUKHUYENMAI.Edit = edit;
     return mENUKHUYENMAI;
 }
Пример #2
0
 public BOMenuKhuyenMai()
 {
     MenuKhuyenMai = new MENUKHUYENMAI();
     KichThuocMonChinh = new BOMenuKichThuocMon();
     KichThuocMonTang = new BOMenuKichThuocMon();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MENUKHUYENMAIs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMENUKHUYENMAIs(MENUKHUYENMAI mENUKHUYENMAI)
 {
     base.AddObject("MENUKHUYENMAIs", mENUKHUYENMAI);
 }