public UnitWork(DBContext _context) { autoClose = false; context = _context; genericDAL = new DALGenericImpl <E>(context); }
public UnitWork() { autoClose = true; context = new DBContext(); genericDAL = new DALGenericImpl <E>(context); }
public UnitOfWork(BDContext _context) { context = _context; genericDAL = new DALGenericImplementation <T>(context); }