internal UserProxy(UnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _claimRepository = unitOfWork.ClaimRepository as ClaimRepository; _externalLoginRepository = unitOfWork.ExternalLoginRepository as ExternalLoginRepository; _roleRepository = unitOfWork.RoleRepository as RoleRepository; }
public void Dispose() { _externalLoginRepository = null; _roleRepository = null; _userRepository = null; _context.Dispose(); }
public DynamicModuleUoW( ISessionManager sessionManager, DynamicModuleRepository dynamicModuleRepository, DynamicModuleBlobRepository dynamicModuleBlobRepository, ExternalLoginProviderRepository externalLoginProviderRepository, ExternalLoginRepository externalLoginRepository, FileResourceRepository fileResourceRepository ) : base(sessionManager) { m_dynamicModuleRepository = dynamicModuleRepository; m_dynamicModuleBlobRepository = dynamicModuleBlobRepository; m_externalLoginProviderRepository = externalLoginProviderRepository; m_externalLoginRepository = externalLoginRepository; m_fileResourceRepository = fileResourceRepository; }