public RoleService(IEfCoreRepository <SysRole, int> role, IRoleMenuRepos roleMenu, IEfCoreRepository <SysMenu, int> menu) { _role = role; _roleMenu = roleMenu; _menu = menu; }
public MenuService(IEfCoreRepository <SysMenu, int> menu, IRoleMenuRepos roleMenu, IEfCoreRepository <SysOperate, int> operate) { _menu = menu; _roleMenu = roleMenu; _operate = operate; }
public PermssionManage(IEfCoreRepository <PermissionInfo> ef) { this.efCore = ef; }
public QuestionManage(IEfCoreRepository <QuestionInfo> ef) { this.efCore = ef; }
public OperateService(IEfCoreRepository <SysOperate, int> operate, IRoleMenuRepos roleMenu) { _operate = operate; _roleMenu = roleMenu; }
public OperateService(IEfCoreRepository <SysOperate, int> operate, IRoleMenuRepos roleMenu, IMapper mapper) { _operate = operate; _roleMenu = roleMenu; _mapper = mapper; }
public ClassManage(IEfCoreRepository <ClassInfo> ef) { this.efCore = ef; }
public SampleService(IEfCoreRepository <SampleModel, string> repository) { _repository = repository; }
public RoleManage(IEfCoreRepository <RoleInfo> ef) { this.efCore = ef ?? throw new ArgumentNullException(nameof(efCore)); }
public SysUserService(IEfCoreRepository <Domain.SysUser, int> sysUser, IEfCoreRepository <SysRole, int> role) { _sysUser = sysUser; _role = role; }
public ExaminationManage(IEfCoreRepository <ExaminationInfo> ef) { this.efCore = ef; }
public MenuService(IEfCoreRepository <SysMenu, int> menu, IEfCoreRepository <SysRoleMenu, int> roleMenu) { _menu = menu; _roleMenu = roleMenu; }
public AnswerManage(IEfCoreRepository <AnswerInfo> ef) { this.efCore = ef; }
public MenuManage(IEfCoreRepository <MenuInfo> ef) { this.efCore = ef; }
public ResourceRepository(IEfCoreRepository <ResourceEntity, Guid> repository) { _repository = repository; }
public RoleService(IEfCoreRepository <SysRole, int> role) { _role = role; }
public UserManage(IEfCoreRepository <UserInfo> ef) { this.efCore = ef; }
public SampleController(IEfCoreRepository <SampleModel, string> repository) { _repository = repository; }
public SysUserService(IEfCoreRepository <Domain.SysUser, int> sysUser, IEfCoreRepository <SysRole, int> role, IMapper mapper) { _sysUser = sysUser; _role = role; _mapper = mapper; }
public AuthService(IEfCoreRepository <Domain.SysUser, int> sysUser) { _sysUser = sysUser; }
async Task IEfCoreBulkOperationProvider.UpdateManyAsync <TDbContext, TEntity>(IEfCoreRepository <TEntity> repository, IEnumerable <TEntity> entities, bool autoSave, CancellationToken cancellationToken) { var dbContext = await repository.GetDbContextAsync(); await dbContext.BulkUpdateAsync(entities.ToList()); if (autoSave) { await dbContext.SaveChangesAsync(cancellationToken); } }