public OrganizationAppService(IOrganizationDomainService organizationDomainService, IDapperRepository <Domain.Organization, long> organizationRepository) { _organizationDomainService = organizationDomainService; _organizationRepository = organizationRepository; _session = NullSurgingSession.Instance; }
public UserAppService(IUserDomainService userDomainService, IDapperRepository <UserInfo, long> userRepository) { _userDomainService = userDomainService; _userRepository = userRepository; _session = NullSurgingSession.Instance; }
public RoleAppService(IRoleDomainService roleDomainService, IDapperRepository <Domain.Roles.Role, long> roleRepository) { _roleDomainService = roleDomainService; _roleRepository = roleRepository; _session = NullSurgingSession.Instance; }
public AbstractService(IMapper mapper, IDapperRepository <T, PK> repository, IAttachmentRepository attachmentRepository, IHttpContextAccessor accessor) { Mapper = mapper; Repository = repository; AttachmentRepository = attachmentRepository; HttpContextAccessor = accessor; }
public SJCLAppServices(IDapperRepository <COUNT, long> cntDapperRepository, IDapperRepository <VW_SJCL_100, long> vwsjclDapperRepository, RoleNameAppService roleNameAppService, IDapperRepository <USER_NAME, long> userNamesRepository) { _cntDapperRepository = cntDapperRepository; _vwsjclDapperRepository = vwsjclDapperRepository; _roleNameAppService = roleNameAppService; _userNamesRepository = userNamesRepository; }
public SomeDomainService( IRepository <Person> personRepository, IRepository <Animal> animalRepository, IUnitOfWorkManager unitOfWorkManager, IDbContextProvider <AnimalStoveDbContext> animalDbContextProvider, IBackgroundJobManager hangfireBackgroundJobManager, IDapperRepository <Person> personDapperRepository, IDapperRepository <Animal> animalDapperRepository, ICacheManager cacheManager, IMessageBus messageBus, IScheduleJobManager hangfireScheduleJobManager, IDapperRepository <Product> productDapperRepository, IDapperRepository <Mail, Guid> mailDapperRepository) { _personRepository = personRepository; _animalRepository = animalRepository; _unitOfWorkManager = unitOfWorkManager; _animalDbContextProvider = animalDbContextProvider; _hangfireBackgroundJobManager = hangfireBackgroundJobManager; _personDapperRepository = personDapperRepository; _animalDapperRepository = animalDapperRepository; _cacheManager = cacheManager; _messageBus = messageBus; _hangfireScheduleJobManager = hangfireScheduleJobManager; _productDapperRepository = productDapperRepository; _mailDapperRepository = mailDapperRepository; Logger = NullLogger.Instance; }
public DomainServiceTarefa(GenericRepository <Tarefa> repository, IDapperRepository dapper, IUnitOfWork uow) : base(repository, dapper, uow) { this._repository = repository; this._dapper = dapper; this._uow = uow; //_logger.Info("Teste - ModeOn Service Tarefa"); }
public UserAppService(IUserDomainService userDomainService, IDapperRepository <UserInfo, long> userRepository, IDapperRepository <Domain.Roles.Role, long> roleRepository) { _userDomainService = userDomainService; _userRepository = userRepository; _roleRepository = roleRepository; }
public CorporationDomainService(IDapperRepository <Organization, long> organizationRepository, IDapperRepository <Corporation, long> corporationRepository, IDapperRepository <Department, long> departmentRepository) { _organizationRepository = organizationRepository; _corporationRepository = corporationRepository; _departmentRepository = departmentRepository; }
public ProductRepository( TraingRepositoryContext traingRepositoryContextBase, IDapperRepository <ProductDetailInfo> dapperRepository ) : base(traingRepositoryContextBase) { _traingRepositoryContext = traingRepositoryContextBase; _dapperRepository = dapperRepository; }
public DomainServiceBase(GenericRepository <T> repository, IDapperRepository dapper, IUnitOfWork uow) { this._repository = repository; this._dapper = dapper; this._uow = uow; _logger = LogManager.GetLogger("LogInFile"); }
public TestService(IBackgroundJobManager backgroundJobManager, IDapperRepository <TaskModel> dapperRepository, INotificationPublisher notificationPublisher) { this._backgroundJobManager = backgroundJobManager; this._notificationPublisher = notificationPublisher; this._dapperRepository = dapperRepository; }
public NewsService(IRepository <NewsEntity> newsRepository, IDapperRepository dapperRepository, IRepository <CategoryRelationshipsEntity> categoryRelationshipsRepository) { this._newsRepository = newsRepository; this._dapperRepository = dapperRepository; this._categoryRelationshipsRepository = categoryRelationshipsRepository; }
public SysUserService(IRepository <SysUser> sysProperties, IDapperRepository dapperRepository, ICacheManager cacheManagger ) { _repository = sysProperties; _dapperRepository = dapperRepository; _cacheManagger = cacheManagger; }
public ApplicationService(IOptions <AppSettings> config, IGetWorkItems appService, IDapperRepository logAnaliseService) { _config = config.Value; _appService = appService; _logAnaliseService = logAnaliseService; }
public RoleAppService(IRoleDomainService roleDomainService, IDapperRepository <Domain.Roles.Role, long> roleRepository, IPermissionDomainService permissionDomainService) { _roleDomainService = roleDomainService; _roleRepository = roleRepository; _permissionDomainService = permissionDomainService; }
public DayForecastService(DateTime startDate, DateTime endDate, DayForecastConfiguration dayForecastConfiguration, IDapperRepository<DayForecast> dapperRepository) { _startDate = startDate; _endDate = endDate; _dayForecastConfiguration = dayForecastConfiguration; _dapperRepository = dapperRepository; GenerateDateRangeCollection(); }
public SiempresaAppService(IDapperRepository <Siempresa> dapperRepository, IMapper mapper, IUnitOfWorkDapper unitOfWork, ISiempresaRepository siempresaRepository, ISitipempresaRepository sitipempresaRepository) : base(dapperRepository, mapper) { _uow = unitOfWork; _siempresaRepository = siempresaRepository; _sitipempresaRepository = sitipempresaRepository; }
public UserGroupAppService(IUserGroupDomainService userGroupDomainService, IDapperRepository <Domain.UserGroups.UserGroup, long> userGroupRepository, IRoleDomainService roleDomainService) { _userGroupDomainService = userGroupDomainService; _userGroupRepository = userGroupRepository; _roleDomainService = roleDomainService; }
public DayForecastService(DateTime startDate, DateTime endDate, DayForecastConfiguration dayForecastConfiguration, IDapperRepository <DayForecast> dapperRepository) { _startDate = startDate; _endDate = endDate; _dayForecastConfiguration = dayForecastConfiguration; _dapperRepository = dapperRepository; GenerateDateRangeCollection(); }
public AdminUniversityController(IQueryBus queryBus, ICommandBus commandBus, IUniversitySearch universityProvider, IDapperRepository dapperRepository) { _queryBus = queryBus; _commandBus = commandBus; _universityProvider = universityProvider; _dapperRepository = dapperRepository; }
public DomainEvents_Tests() { Building(builder => { }).Ok(); _blogRepository = The <IRepository <Blog> >(); _blogDapperRepository = The <IDapperRepository <Blog> >(); _eventBus = The <IEventBus>(); }
public MenuManager(IDapperRepository <Menu, long> menuRepository, IDapperRepository <Permission, long> permissionRepository, IDapperRepository <RolePermission, long> rolePermissionRepository) { _menuRepository = menuRepository; _permissionRepository = permissionRepository; _rolePermissionRepository = rolePermissionRepository; }
public DapperRepositoryTests() { productDapperRepository = Resolve <IDapperRepository <Product> >(); productRepository = Resolve <IRepository <Product> >(); unitOfWorkManager = Resolve <IUnitOfWorkManager>(); productDetailRepository = Resolve <IRepository <ProductDetail> >(); productDetailDapperRepository = Resolve <IDapperRepository <ProductDetail> >(); }
public FunctionManager(IDapperRepository <Function, long> functionRepository, IDapperRepository <PermissionFunction, long> permissionFunctionRepository, IDapperRepository <Permission, long> permissionRepository) { _functionRepository = functionRepository; _permissionFunctionRepository = permissionFunctionRepository; _permissionRepository = permissionRepository; }
public PositionAppService(IPositionDomainService positionDomainService, IDapperRepository <Domain.Positions.Position, long> positionRepository, IDapperRepository <Domain.Department, long> departmentRepository) { _positionDomainService = positionDomainService; _positionRepository = positionRepository; _departmentRepository = departmentRepository; }
public RoleManager(IDapperRepository <Role, long> roleRepository, IDapperRepository <UserRole, long> userRoleRepository, IDapperRepository <RolePermission, long> rolePermissionRepository) { _roleRepository = roleRepository; _userRoleRepository = userRoleRepository; _rolePermissionRepository = rolePermissionRepository; }
public PositionDomainService(IDapperRepository <Position, long> positionRepository, IDapperRepository <Department, long> departmentRepository, IDapperRepository <Organization, long> organizationRepository) { _positionRepository = positionRepository; _departmentRepository = departmentRepository; _organizationRepository = organizationRepository; }
public Transaction_Tests() { Building(builder => { }).Ok(); _uowManager = The <IUnitOfWorkManager>(); _blogRepository = The <IRepository <Blog> >(); _blogDapperRepository = The <IDapperRepository <Blog> >(); }
private readonly ICacheManager _cacheManager; //依赖注入缓存 //private readonly SJMXAppServices _AppServices; public JDRQAppServices(IUnitOfWorkManager unitOfWorkManager, IDapperRepository <JDRQ, long> jdrqDapperRepository, ICacheManager cacheManager, IDapperRepository <STATS, long> DapperRepository) //, SJMXAppServices AppServices) { _unitOfWorkManager = unitOfWorkManager; _jdrqDapperRepository = jdrqDapperRepository; _cacheManager = cacheManager; // 依赖注入缓存 _DapperRepository = DapperRepository; //_AppServices = AppServices; }
public ActionDomainService(IDapperRepository <Action, long> actionRepository, IDapperRepository <OperationActionRelation, long> operationActionRelationRepository, ILockerProvider lockProvider) { _actionRepository = actionRepository; _operationActionRelationRepository = operationActionRelationRepository; _lockerProvider = lockProvider; }