protected CrmGenericImporter(ILogger logger, IDataStoreReader <Entity, EntityWrapper> storeReader, DataCrmStoreWriter storeWriter, ICrmGenericImporterConfig config, CancellationToken token)
     : base(logger, storeReader, storeWriter, token)
 {
     this.config   = config;
     targetEntRepo = storeWriter?.GetEntityRepository;
     AddCustomProcessors();
 }
示例#2
0
 public TestCrmGenericImporter(
     ILogger logger,
     IDataStoreReader <Entity, EntityWrapper> storeReader,
     DataCrmStoreWriter storeWriter,
     ICrmGenericImporterConfig config)
     : base(logger, storeReader, storeWriter, config)
 {
 }
示例#3
0
 public CrmDirectMigrator(ILogger logger, IEntityRepository entityRepo, ICrmStoreReaderConfig readerConfig, ICrmStoreWriterConfig writerConfig, ICrmGenericImporterConfig importConfig, CancellationToken token)
     : base(
         logger,
         new DataCrmStoreReader(logger, entityRepo, readerConfig),
         new DataCrmStoreWriter(logger, entityRepo, writerConfig, token),
         importConfig,
         token)
 {
 }
示例#4
0
 public CrmDirectMigrator(ILogger logger, DataCrmStoreReader storeReader, DataCrmStoreWriter storeWriter, ICrmGenericImporterConfig config, CancellationToken token)
     : base(logger, storeReader, storeWriter, config, token)
 {
 }
示例#5
0
 public CrmDirectMigrator(ILogger logger, DataCrmStoreReader storeReader, DataCrmStoreWriter storeWriter, ICrmGenericImporterConfig config)
     : base(logger, storeReader, storeWriter, config)
 {
 }
 public CrmFileDataImporter(ILogger logger, List <IEntityRepository> entityRepos, IFileStoreReaderConfig readerConfig, ICrmStoreWriterConfig writerConfig, ICrmGenericImporterConfig importConfig, CancellationToken token)
     : base(
         logger,
         new DataFileStoreReader(logger, readerConfig),
         new DataCrmStoreWriterMultiThreaded(logger, entityRepos, writerConfig, token),
         importConfig,
         token)
 {
 }
 public CrmFileDataImporter(ILogger logger, DataFileStoreReader storeReader, DataCrmStoreWriter storeWriter, ICrmGenericImporterConfig config)
     : base(logger, storeReader, storeWriter, config)
 {
 }
 public CrmFileDataImporterCsv(ILogger logger, IEntityRepository entityRepo, IFileStoreReaderConfig readerConfig, ICrmStoreWriterConfig writerConfig, ICrmGenericImporterConfig importConfig, CrmSchemaConfiguration schemaConfig, CancellationToken token)
     : base(
         logger,
         new DataFileStoreReaderCsv(logger, readerConfig, schemaConfig),
         new DataCrmStoreWriter(logger, entityRepo, writerConfig, token),
         importConfig,
         token)
 {
 }
 public CrmFileDataImporterCsv(ILogger logger, DataFileStoreReaderCsv storeReader, DataCrmStoreWriter storeWriter, ICrmGenericImporterConfig config, CancellationToken token)
     : base(logger, storeReader, storeWriter, config, token)
 {
 }