public BOMenuKichThuocMon()
 {
     MenuKichThuocMon = new MENUKICHTHUOCMON();
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();
     DanhSachKhuyenMai = new List<BOMenuKhuyenMai>();
 }
 public BOXuLyKhoChiTiet()
 {
     XuLyKhoChiTiet = new XULYKHOCHITIET();
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();
     TonKho = new TONKHO();
     XuLyKho = new XULYKHO();
 }
 public BOChiTietChuyenKho()
 {
     ChiTietChuyenKho = new CHITIETCHUYENKHO();
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();
     TonKho = new TONKHO();
     ChuyenKho = new CHUYENKHO();
 }
 public BOChiTietNhapKho()
 {
     ChiTietNhapKho = new CHITIETNHAPKHO();
     ChiTietNhapKho.NgaySanXuat = ChiTietNhapKho.NgayHetHan = DateTime.Now;
     ChiTietNhapKho.SoLuongNhap = 1;
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();            
     NhapKho = new NHAPKHO();
 }
 public BOMenuItemMayIn()
 {
     MenuItemMayIn = new MENUITEMMAYIN();
     MayIn = new MAYIN();
     MenuMon = new MENUMON();
 }
 public BOTonKhoTong()
 {
     TonKhoTong = new TONKHOTONG();
     Mon = new MENUMON();
 }
 /// <summary>
 /// Create a new MENUMON object.
 /// </summary>
 /// <param name="monID">Initial value of the MonID property.</param>
 /// <param name="tenNgan">Initial value of the TenNgan property.</param>
 /// <param name="gia">Initial value of the Gia property.</param>
 /// <param name="gST">Initial value of the GST property.</param>
 /// <param name="tonKhoToiThieu">Initial value of the TonKhoToiThieu property.</param>
 /// <param name="tonKhoToiDa">Initial value of the TonKhoToiDa property.</param>
 /// <param name="sapXep">Initial value of the SapXep property.</param>
 /// <param name="sapXepKichThuocMon">Initial value of the SapXepKichThuocMon property.</param>
 /// <param name="giamGia">Initial value of the GiamGia property.</param>
 /// <param name="sLMonChoPhepTonKho">Initial value of the SLMonChoPhepTonKho property.</param>
 /// <param name="sLMonKhongChoPhepTonKho">Initial value of the SLMonKhongChoPhepTonKho 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 MENUMON CreateMENUMON(global::System.Int32 monID, global::System.String tenNgan, global::System.Decimal gia, global::System.Int32 gST, global::System.Int32 tonKhoToiThieu, global::System.Int32 tonKhoToiDa, global::System.Int32 sapXep, global::System.Int32 sapXepKichThuocMon, global::System.Int32 giamGia, global::System.Int32 sLMonChoPhepTonKho, global::System.Int32 sLMonKhongChoPhepTonKho, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit)
 {
     MENUMON mENUMON = new MENUMON();
     mENUMON.MonID = monID;
     mENUMON.TenNgan = tenNgan;
     mENUMON.Gia = gia;
     mENUMON.GST = gST;
     mENUMON.TonKhoToiThieu = tonKhoToiThieu;
     mENUMON.TonKhoToiDa = tonKhoToiDa;
     mENUMON.SapXep = sapXep;
     mENUMON.SapXepKichThuocMon = sapXepKichThuocMon;
     mENUMON.GiamGia = giamGia;
     mENUMON.SLMonChoPhepTonKho = sLMonChoPhepTonKho;
     mENUMON.SLMonKhongChoPhepTonKho = sLMonKhongChoPhepTonKho;
     mENUMON.Visual = visual;
     mENUMON.Deleted = deleted;
     mENUMON.Edit = edit;
     return mENUMON;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the MENUMONs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMENUMONs(MENUMON mENUMON)
 {
     base.AddObject("MENUMONs", mENUMON);
 }
Example #9
0
 public BOMenuMon()
 {
     MenuMon = new MENUMON();
     MenuNhom = new MENUNHOM();
 }
Example #10
0
 public BODinhLuong()
 {
     DinhLuong = new DINHLUONG();
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();
 }