public DataFileStoreReaderCsv(ILogger logger, IFileStoreReaderConfig config, CrmSchemaConfiguration schemaConfig)
     : this(
         logger,
         config?.FilePrefix,
         config?.JsonFolderPath,
         schemaConfig)
 {
 }
 public CrmFileDataImporter(ILogger logger, IEntityRepository entityRepo, IFileStoreReaderConfig readerConfig, ICrmStoreWriterConfig writerConfig, ICrmGenericImporterConfig importConfig, CancellationToken token)
     : base(
         logger,
         new DataFileStoreReader(logger, readerConfig),
         new DataCrmStoreWriter(logger, entityRepo, writerConfig, token),
         importConfig,
         token)
 {
 }
Example #3
0
 public DataFileStoreReader(ILogger logger, IFileStoreReaderConfig config)
     : this(logger, config?.FilePrefix, config?.JsonFolderPath)
 {
 }
 public CrmFileDataImporterCsv(ILogger logger, List <IEntityRepository> entityRepos, IFileStoreReaderConfig readerConfig, ICrmStoreWriterConfig writerConfig, ICrmGenericImporterConfig importConfig, CrmSchemaConfiguration schemaConfig, CancellationToken token)
     : base(
         logger,
         new DataFileStoreReaderCsv(logger, readerConfig, schemaConfig),
         new DataCrmStoreWriterMultiThreaded(logger, entityRepos, writerConfig, token),
         importConfig,
         token)
 {
 }