public RoleRepository(STSysContext dbContext, IRepositoryEF <RelevanceRoleEntity> repositoryEF, IUnitOfWork unitOfWork, IRepositoryEF <ModuleElementEntity> moduleElementRepository, IRepositoryEF <RelevanceElementEntity> relevanceElementRepository) : base(dbContext) { this._repositoryEF = repositoryEF; this._unitOfWork = unitOfWork; this._moduleElementRepository = moduleElementRepository; this._relevanceElementRepository = relevanceElementRepository; }
public ManagerRepository(STSysContext dbContext) : base(dbContext) { }
public ColumnRepository(STSysContext dbContext) : base(dbContext) { }
public UnitOfWork(STSysContext context) { _context = context; }
public Repository(STSysContext dbContext) { _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); _dbSet = _dbContext.Set <TEntity>(); }