/// <summary> /// Constructor. /// Uses <see cref="IAbpStartupConfiguration.DefaultNameOrConnectionString"/> as connection string. /// </summary> protected AbpDbContext() { Logger = NullLogger.Instance; AbpSession = NullAbpSession.Instance; EntityChangeEventHelper = NullEntityChangeEventHelper.Instance; GuidGenerator = SequentialGuidGenerator.Instance; }
public PackageBuilder(ICryptoService cryptoService, IDateTimeService dateTimeService, IGuidGenerator guidGenerator ) { this.cryptoService = cryptoService; this.dateTimeService = dateTimeService; this.guidGenerator = guidGenerator; }
public OrderingDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public DocumentManagementDataSeedContributor( IGuidGenerator guidGenerator, ICurrentTenant currentTenant) { _guidGenerator = guidGenerator; _currentTenant = currentTenant; }
public AccountCategoriesModel(coaAccountSubCategoryAppService coaAccountSubCategoryAppService, IGuidGenerator guidGenerator, CompanyAppService CompanyAppService, coaHeadAccountAppService headAccountsAppService) { _subCategoryAppService = coaAccountSubCategoryAppService; _guidGenerator = guidGenerator; _companyAppService = CompanyAppService; _headAccountsAppService = headAccountsAppService; }
public CodingManagementDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public PrepaymentDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public DeviceManagerDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public GiftCardManagementDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public DatabaseContext(IConfiguration configuration, TenancyConfiguration tenancyConfiguration, IGuidGenerator generator) : base(configuration, tenancyConfiguration, generator, new ContextConfigurationModule()) { this.DisableDatabaseInitialization(); }
protected AuditLogRepository_Tests() { AuditLogRepository = GetRequiredService <IAuditLogRepository>(); GuidGenerator = GetRequiredService <IGuidGenerator>(); }
public SecondContextTestDataBuilder(IBasicRepository <BookInSecondDbContext, Guid> bookRepository, IGuidGenerator guidGenerator) { _bookRepository = bookRepository; _guidGenerator = guidGenerator; }
public AuthorRepositoryTests() { _authorRepository = GetRequiredService <IRepository <Author, Guid> >(); _guidGenerator = GetRequiredService <IGuidGenerator>(); }
public ListModel(IGuidGenerator guidGenerator, IJsonSerializer jsonSerializer, TimesheetAppService timesheetAppService) { this.guidGenerator = guidGenerator; JsonSerializer = jsonSerializer; TimesheetAppService = timesheetAppService; }
public CommentAppService(ICommentRepository commentRepository, IGuidGenerator guidGenerator, IBlogUserLookupService userLookupService) { _commentRepository = commentRepository; _guidGenerator = guidGenerator; UserLookupService = userLookupService; }
public GuidController(IGuidGenerator generator, IGetRandomGuidParametersValidator validator) { _generator = generator; _validator = validator; }
public ProductDataSeedContributor( IGuidGenerator guidGenerator, ICurrentTenant currentTenant) { _guidGenerator = guidGenerator; _currentTenant = currentTenant; }
public PersonPerCityCounterRepository(IMongoConnection mongoConnection, IGuidGenerator guidGenerator) { MongoConnection = mongoConnection; GuidGenerator = guidGenerator; }
public PersistedGrantStore(IPersistentGrantRepository persistentGrantRepository, IObjectMapper <AbpIdentityServerDomainModule> objectMapper, IGuidGenerator guidGenerator) { PersistentGrantRepository = persistentGrantRepository; ObjectMapper = objectMapper; GuidGenerator = guidGenerator; }
public ElsaIdGenerator(IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public IdentityClaimTypeRepository_Tests() { ClaimTypeRepository = ServiceProvider.GetRequiredService <IIdentityClaimTypeRepository>(); GuidGenerator = ServiceProvider.GetRequiredService <IGuidGenerator>(); }
public void NewId(IGuidGenerator guidGenerator) { Id = guidGenerator.Create(); }
public ProjectInfoByConventionStep(IProjectTypeNamingConvention projectTypeNamingConvention, IGuidGenerator guidGenerator) { this.projectTypeNamingConvention = projectTypeNamingConvention; this.guidGenerator = guidGenerator; }
public UniappManagementDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public ResourceManagementDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
public UpdateInvoiceReadModelEventHandlers(IMediator mediator, Store store, IUnitOfWork unitOfWork, IGuidGenerator guidGenerator) { _Mediator = mediator; _UnitOfWork = unitOfWork; _GuidGenerator = guidGenerator; _InvoiceStream = store.Open(Streams.Invoices); _Mapper = new MapperConfiguration(cfg => { cfg.CreateMap <ReportPrinted, InvoicePrinted>() .ForMember(dest => dest.InvoiceId, opt => opt.MapFrom(src => src.RecordId)); }).CreateMapper(); }
public BookStoreTestDataSeedContributor( IRepository <Book, Guid> bookRepository, IGuidGenerator guidGenerator) { _bookRepository = bookRepository; _guidGenerator = guidGenerator; }
public IdenityClaimTypeManager(IIdentityClaimTypeRepository identityClaimTypeRepository, IGuidGenerator guidGenerator) { _identityClaimTypeRepository = identityClaimTypeRepository; _guidGenerator = guidGenerator; }
public CreateModel(coaAppService coaAppService, CompanyAppService CompanyAppService, coaHeadAccountAppService headAccountsAppService, coaAccountSubCategoryAppService subCategoryAppService, IRepository <AccountStatementType, Guid> accStatementTypeRepo, IRepository <DictionaryValue, Guid> dictionaryValuesRepo, coaSubLedgerRequirementsAppService subLedgerRequirementsAppService, branchAppService branchAppService, IGuidGenerator guidGenerator) { _coaAppService = coaAppService; _subCategoryAppService = subCategoryAppService; _companyAppService = CompanyAppService; _headAccountsAppService = headAccountsAppService; _accStatementTypeRepo = accStatementTypeRepo; _dictionaryValuesRepo = dictionaryValuesRepo; _subLedgerRequirementsAppService = subLedgerRequirementsAppService; _branchAppService = branchAppService; _guidGenerator = guidGenerator; }
static ChatSeed() { guidGenerator = BaseSeed.GuidGenerator; }
public PermissionTestDataBuilder(IGuidGenerator guidGenerator, IPermissionGrantRepository permissionGrantRepository) { _guidGenerator = guidGenerator; _permissionGrantRepository = permissionGrantRepository; }
public ImporterMetaService(IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }
/// <summary> /// 注入属性设置为空 /// </summary> private void SetNullsForInjectedProperties() { Logger = NullLogger.Instance; AbpSession = NullAbpSession.Instance; EntityChangeEventHelper = NullEntityChangeEventHelper.Instance; GuidGenerator = SequentialGuidGenerator.Instance; }
public MediaDataSeedContributor( IGuidGenerator guidGenerator) { _guidGenerator = guidGenerator; }