예제 #1
0
 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;
 }
예제 #3
0
 public ProviderConfiguration()
 {
     Logging       = new LoggerConfiguration();
     DocumentStore = new DocumentStoreSetting();
     SqlStore      = new SqlStoreSetting();
     GraphStore    = new GraphStoreSetting();
     Emails        = new EmailSettings();
     Bus           = new BusSetting();
 }