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();
 }
 /// <summary>
 /// Create a new LOAIBAN object.
 /// </summary>
 /// <param name="loaiBanID">Initial value of the LoaiBanID property.</param>
 /// <param name="kichThuocBan">Initial value of the KichThuocBan 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 LOAIBAN CreateLOAIBAN(global::System.Int32 loaiBanID, global::System.Int32 kichThuocBan, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit)
 {
     LOAIBAN lOAIBAN = new LOAIBAN();
     lOAIBAN.LoaiBanID = loaiBanID;
     lOAIBAN.KichThuocBan = kichThuocBan;
     lOAIBAN.Visual = visual;
     lOAIBAN.Deleted = deleted;
     lOAIBAN.Edit = edit;
     return lOAIBAN;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the LOAIBANs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLOAIBANs(LOAIBAN lOAIBAN)
 {
     base.AddObject("LOAIBANs", lOAIBAN);
 }
示例#7
0
 public BODinhLuong()
 {
     DinhLuong = new DINHLUONG();
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();
 }