Example #1
0
        public UnitOfWork(qlTheContext qlTheContext, stsdataContext stsdataContext)
        {
            _qlTheContext   = qlTheContext;
            _stsdataContext = stsdataContext;

            capTheRepository         = new CapTheRepository(_qlTheContext);
            chiNhanhRepository       = new ChiNhanhRepository(_stsdataContext);
            chiTietCapTheRepository  = new ChiTietCapTheRepository(_qlTheContext);
            hTTTRepository           = new HTTTRepository(_qlTheContext);
            loaiThe_QlThe_Repository = new LoaiThe_qlThe_Repository(_qlTheContext);
            nhanVienRepository       = new NhanVienRepository(_stsdataContext);
            vanPhongRepository       = new VanPhongRepository(_stsdataContext);
            thongTinTheRepository    = new ThongTinTheRepository(_qlTheContext);
        }
Example #2
0
 public VanPhongRepository(stsdataContext context) : base(context)
 {
 }
Example #3
0
 public Repository_stsdata(stsdataContext context)
 {
     _context = context;
 }
Example #4
0
 public NhanVienRepository(stsdataContext context) : base(context)
 {
 }
Example #5
0
 public ChiNhanhRepository(stsdataContext context) : base(context)
 {
 }