Пример #1
0
 internal ConnectionManager(string connectionString, string providerName)
 {
     _connectionString = connectionString;
     _providerName     = providerName;
     _connectionName   = string.Empty;
     _assemblyProvider = new AssemblyProvider(_providerName);
 }
Пример #2
0
 internal ConnectionManager(string connectionName)
 {
     _connectionName   = connectionName;
     _connectionString = Configuration.GetConnectionString(connectionName);
     _providerName     = Configuration.GetProviderName(connectionName);
     _assemblyProvider = new AssemblyProvider(_providerName);
 }
Пример #3
0
 internal ConnectionManager()
 {
     _connectionName   = Configuration.DefaultConnection;
     _connectionString = Configuration.ConnectionString;
     _providerName     = Configuration.ProviderName;
     _assemblyProvider = new AssemblyProvider(_providerName);
 }
Пример #4
0
 public CommandBuilder(string providerName)
 {
     this._providerName = providerName;
     _paramBuilder      = new DBParamBuilder(providerName);
     _assemblyProvider  = new AssemblyProvider(this._providerName);
 }
Пример #5
0
 public CommandBuilder()
 {
     this._providerName = Configuration.GetProviderName(Configuration.DefaultConnection);
     _paramBuilder      = new DBParamBuilder(this._providerName);
     _assemblyProvider  = new AssemblyProvider(this._providerName);
 }
Пример #6
0
 internal DBParamBuilder(string providerName)
 {
     _assemblyProvider = new AssemblyProvider(providerName);
     _providerName     = providerName;
 }
 public DataAdapterManager(string providerName)
 {
     this._providerName = providerName;
     _commandBuilder    = new CommandBuilder(providerName);
     _assemblyProvider  = new AssemblyProvider(_providerName);
 }
 public DataAdapterManager()
 {
     this._providerName = Configuration.GetProviderName(Configuration.DefaultConnection);
     _commandBuilder    = new CommandBuilder(_providerName);
     _assemblyProvider  = new AssemblyProvider(_providerName);
 }