public XmlDataProcessor( XmlSettingsModel settings, IXmlDbUpdateLogService xmlDbUpdateLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor, HttpClient client, IServiceProvider provider ) : base(settings) { _settings = settings; _xmlDbUpdateReplayService = new XmlDbUpdateNonMvcReplayService( QPContext.CurrentDbConnectionString, QPContext.DatabaseType, CommonHelpers.GetDbIdentityInsertOptions(settings.GenerateNewFieldIds, settings.GenerateNewContentIds), settings.UserId, settings.UseGuidSubstitution, xmlDbUpdateLogService, appInfoRepository, actionCorrecterService, httpContextProcessor, provider ); }
public XmlDbUpdateNonMvcReplayService( string connectionString, int userId, bool useGuidSubstitution, IXmlDbUpdateLogService dbLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor, bool isQpInstalled = true) : base(connectionString, userId, useGuidSubstitution, dbLogService, appInfoRepository, actionsCorrecterService, httpContextProcessor) { _isQpInstalled = isQpInstalled; }
public DbController( IXmlDbUpdateLogService xmlDbUpdateServce, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateHttpContextProcessor httpContextProcessor, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IUserService userService) { _xmlDbUpdateLogService = xmlDbUpdateServce; _appInfoRepository = appInfoRepository; _actionsCorrecterService = actionsCorrecterService; _httpContextProcessor = httpContextProcessor; _userService = userService; }
public XmlDbUpdateReplayService(string connectionString, HashSet <string> identityInsertOptions, int userId, bool useGuidSubstitution, IXmlDbUpdateLogService dbLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor) { Ensure.NotNullOrWhiteSpace(connectionString, "Connection string should be initialized"); _userId = userId; _useGuidSubstitution = useGuidSubstitution; _identityInsertOptions = identityInsertOptions ?? new HashSet <string>(); ConnectionString = connectionString; _dbLogService = dbLogService; _appInfoRepository = appInfoRepository; _actionsCorrecterService = actionsCorrecterService; _httpContextProcessor = httpContextProcessor; }
public XmlDbUpdateNonMvcReplayService( string connectionString, DatabaseType dbType, HashSet <string> identityInsertOptions, int userId, bool useGuidSubstitution, IXmlDbUpdateLogService dbLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor, IServiceProvider provider, bool isQpInstalled = true) : base(connectionString, dbType, identityInsertOptions, userId, useGuidSubstitution, dbLogService, appInfoRepository, actionsCorrecterService, httpContextProcessor, provider) { _isQpInstalled = isQpInstalled; }
public XmlDataProcessor( XmlSettingsModel settings, IXmlDbUpdateLogService xmlDbUpdateLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor) : base(settings) { _settings = settings; _xmlDbUpdateReplayService = new XmlDbUpdateNonMvcReplayService( QPContext.CurrentDbConnectionString, CommonHelpers.GetDbIdentityInsertOptions(settings.DisableFieldIdentity, settings.DisableContentIdentity), settings.UserId, settings.UseGuidSubstitution, xmlDbUpdateLogService, appInfoRepository, actionCorrecterService, httpContextProcessor); }
public XmlDbUpdateReplayService(string connectionString, DatabaseType dbType, HashSet <string> identityInsertOptions, int userId, bool useGuidSubstitution, IXmlDbUpdateLogService dbLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor, IServiceProvider serviceProvider = null, bool throwActionReplayed = false) { Ensure.NotNullOrWhiteSpace(connectionString, "Connection string should be initialized"); _userId = userId; _useGuidSubstitution = useGuidSubstitution; _identityInsertOptions = identityInsertOptions ?? new HashSet <string>(); _throwActionReplayed = throwActionReplayed; ConnectionString = connectionString; DbType = dbType; _dbLogService = dbLogService; _appInfoRepository = appInfoRepository; _actionsCorrecterService = actionsCorrecterService; _httpContextProcessor = httpContextProcessor; _serviceProvider = serviceProvider; }
public XmlDbUpdateReplayService(string connectionString, int userId, bool useGuidSubstitution, IXmlDbUpdateLogService dbLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor, IServiceProvider provider = null, bool throwActionReplayed = false) : this(connectionString, DatabaseType.SqlServer, null, userId, useGuidSubstitution, dbLogService, appInfoRepository, actionsCorrecterService, httpContextProcessor, provider, throwActionReplayed) { }
public XmlDbUpdateReplayService(string connectionString, int userId, bool useGuidSubstitution, IXmlDbUpdateLogService dbLogService, IApplicationInfoRepository appInfoRepository, IXmlDbUpdateActionCorrecterService actionsCorrecterService, IXmlDbUpdateHttpContextProcessor httpContextProcessor) : this(connectionString, null, userId, useGuidSubstitution, dbLogService, appInfoRepository, actionsCorrecterService, httpContextProcessor) { }