/// <summary> /// Initializes a new instance of the <see cref="FileProcessorManager" /> class. /// </summary> /// <param name="fileProfiles">The file profiles.</param> /// <param name="dbContextFactory">The database context factory.</param> /// <param name="modelFactory">The model factory.</param> public FileProcessorManager(List <FileProfile> fileProfiles, Shared.EntityFramework.IDbContextFactory <EstateReportingGenericContext> dbContextFactory, IModelFactory modelFactory, IAggregateRepository <FileAggregate, DomainEventRecord.DomainEvent> fileAggregateRepository) { this.FileProfiles = fileProfiles; this.DbContextFactory = dbContextFactory; this.ModelFactory = modelFactory; this.FileAggregateRepository = fileAggregateRepository; }
/// <summary> /// Initializes a new instance of the <see cref="EstateReportingRepository" /> class. /// </summary> /// <param name="dbContextFactory">The database context factory.</param> public EstateReportingRepositoryForReports(Shared.EntityFramework.IDbContextFactory <EstateReportingGenericContext> dbContextFactory) { this.DbContextFactory = dbContextFactory; }