public SanPhamDAO() { this.context = new SEDataContext(Global.ConnectionString); DataLoadOptions loadOption = new DataLoadOptions(); loadOption.LoadWith <SanPham>(x => x.ChiTietSanPhams); loadOption.LoadWith <SanPham>(x => x.LoaiSP); }
public LoaiSPDAO() { this.context = new SEDataContext(Global.ConnectionString); }
public NhanVienDAO() { this.context = new SEDataContext(Global.ConnectionString); }