コード例 #1
0
 public EmployeeUnitOfWork(EmployeeRepository employeeRepository,
                           UserGroupRepository userGroupRepository,
                           UserRepository userRepository,
                           PermissionKeyRepository permissionKeyRepository)
 {
     _employeeRepository      = employeeRepository;
     _userGroupRepository     = userGroupRepository;
     _userRepository          = userRepository;
     _permissionKeyRepository = permissionKeyRepository;
 }
コード例 #2
0
 public UserGroupRepository(PermissionKeyRepository permissionKeyRepository,
                            UserGroupPermissionRepository userGroupPermissionRepository)
 {
     _permissionKeyRepository       = permissionKeyRepository;
     _userGroupPermissionRepository = userGroupPermissionRepository;
 }