public SqlStore(IEnumerable <Type> entities, SqlStoreSetting sqlStoreSetting, bool isUnitOfWorkConfigured) { _entities = entities; _isUnitOfWorkConfigured = isUnitOfWorkConfigured; _connectionString = sqlStoreSetting.ConnectionString; _disableQueryTracking = sqlStoreSetting.DisableQueryTracking; }
public UnitOfWorkFactory(IEnumerable <Type> entities, ILogger logger, IDocumentStore documentStore, SqlStoreSetting sqlStoreSetting, IGraphClientFactory graphClientFactory) { _documentStore = documentStore; _entities = entities; _sqlStoreSetting = sqlStoreSetting; _logger = logger; _graphClientFactory = graphClientFactory; }
public ProviderConfiguration() { Logging = new LoggerConfiguration(); DocumentStore = new DocumentStoreSetting(); SqlStore = new SqlStoreSetting(); GraphStore = new GraphStoreSetting(); Emails = new EmailSettings(); Bus = new BusSetting(); }