예제 #1
0
 public UnitWork(DBContext _context)
 {
     autoClose  = false;
     context    = _context;
     genericDAL = new DALGenericImpl <E>(context);
 }
예제 #2
0
 public UnitWork()
 {
     autoClose  = true;
     context    = new DBContext();
     genericDAL = new DALGenericImpl <E>(context);
 }
예제 #3
0
 public UnitOfWork(BDContext _context)
 {
     context    = _context;
     genericDAL = new DALGenericImplementation <T>(context);
 }