示例#1
0
 public SqlCommandStore(EngineConfiguration config)
     : base(config)
 {
     _settings = config.SqlSettings;
     _settings.ResolveConnectionString();
     _providerFactory = DbProviderFactories.GetFactory(_settings.ProviderName);
     _statements      = _settings.Statements ?? ProviderStatements[_settings.ProviderName];
 }
示例#2
0
 public SqlCommandStore(EngineConfiguration config)
     : base(config)
 {
     _settings = config.SqlSettings;
     _settings.ResolveConnectionString();
     _providerFactory = DbProviderFactories.GetFactory(_settings.ProviderName);
     _statements = _settings.Statements ?? ProviderStatements[_settings.ProviderName];
 }