internal ConnectionManager(string connectionString, string providerName)
 {
     _connectionString = connectionString;
     _providerName     = providerName;
     _connectionName   = string.Empty;
     _assemblyProvider = new AssemblyProvider(_providerName);
 }
 internal ConnectionManager()
 {
     _connectionName   = Configuration.DefaultConnection;
     _connectionString = Configuration.ConnectionString;
     _providerName     = Configuration.ProviderName;
     _assemblyProvider = new AssemblyProvider(_providerName);
 }
 internal ConnectionManager(string connectionName)
 {
     _connectionName   = connectionName;
     _connectionString = Configuration.GetConnectionString(connectionName);
     _providerName     = Configuration.GetProviderName(connectionName);
     _assemblyProvider = new AssemblyProvider(_providerName);
 }
 public CommandBuilder(string providerName)
 {
     this._providerName = providerName;
     _paramBuilder      = new DBParamBuilder(providerName);
     _assemblyProvider  = new AssemblyProvider(this._providerName);
 }
 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;
 }
示例#7
0
 public DataAdapterManager(string providerName)
 {
     this._providerName = providerName;
     _commandBuilder    = new CommandBuilder(providerName);
     _assemblyProvider  = new AssemblyProvider(_providerName);
 }
示例#8
0
 public DataAdapterManager()
 {
     this._providerName = Configuration.GetProviderName(Configuration.DefaultConnection);
     _commandBuilder    = new CommandBuilder(_providerName);
     _assemblyProvider  = new AssemblyProvider(_providerName);
 }