Пример #1
0
 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;
 }
Пример #2
0
 public ManagerRepository(STSysContext dbContext) : base(dbContext)
 {
 }
Пример #3
0
 public ColumnRepository(STSysContext dbContext) : base(dbContext)
 {
 }
Пример #4
0
 public UnitOfWork(STSysContext context)
 {
     _context = context;
 }
Пример #5
0
 public Repository(STSysContext dbContext)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _dbSet     = _dbContext.Set <TEntity>();
 }