Beispiel #1
0
        // JWR - this could be internal.  Should it be?
        public EFUnitOfWork(EmployeesDbContext dbContext)
        {
            m_dbContext = dbContext;

            Departments = new EFDepartmentRepository(dbContext);
            Employees   = new EFEmployeeRepository(dbContext);
        }
 public EFDepartmentRepository(EmployeesDbContext dbContext) : base(dbContext)
 {
 }
Beispiel #3
0
 public EFEmployeeRepository(EmployeesDbContext dbContext) : base(dbContext)
 {
 }