public RepositoryTest() { _context = new EmployeeSkillsDBContext(); _skillRepository = new SkillRepository(_context); _EmployeeSkillsRepository = new EmployeeSkillsRepository(_context); SetupLogging(); }
//private EmployeeSkillsDBContext _context; public CategoryRepository(EmployeeSkillsDBContext Context) : base(Context) { _context = Context; _repo = new BaseInstanceRepository <Category>(Context); }
public void Setup() { _context = new EmployeeSkillsDBContext(); _skillRepository = new SkillRepository(_context); _EmployeeSkillsRepository = new EmployeeSkillsRepository(_context); }
//private EmployeeSkillsDBContext _context; public EmployeeSkillsRepository(EmployeeSkillsDBContext Context) { this._context = Context; }
public BaseInstanceRepository(EmployeeSkillsDBContext _db) { db = _db; _dbSet = _db.Set <T>(); }
public EmployeeRepository(EmployeeSkillsDBContext Context) : base(Context) { this._context = Context; _repo = new BaseInstanceRepository <Employee>(Context); }
//private EmployeeSkillsDBContext _context; public DepartmentRepository(EmployeeSkillsDBContext Context) : base(Context) { this._context = Context; _repo = new BaseInstanceRepository <Department>(Context); }