Esempio n. 1
0
 private static bool DisplayProvider(ProviderType provider)
 {
     return(ProxyProviderLoader.HasProvider(provider));
 }
Esempio n. 2
0
 public SqlProxyCommand(string cmdText, SqlProxyConnection connection, SqlProxyTransaction transaction)
 {
     Command    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText, connection.Connection, transaction.Transaction);
     Parameters = new SqlProxyParameterCollection(Command);
 }
Esempio n. 3
0
 public SqlProxyCommand(string cmdText)
 {
     Command    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText);
     Parameters = new SqlProxyParameterCollection(Command);
 }
Esempio n. 4
0
 public SqlProxyCommand(IDbCommand command)
 {
     Command    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", command);
     Parameters = new SqlProxyParameterCollection(Command);
 }
Esempio n. 5
0
 public SqlProxyCommand(string cmdText, SqlProxyConnection connection)
 {
     dbConnection = connection;
     dbCommand    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText, connection);
     Parameters   = new SqlProxyParameterCollection(dbCommand);
 }
Esempio n. 6
0
 public SqlProxyCommand()
 {
     dbCommand  = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand");
     Parameters = new SqlProxyParameterCollection(dbCommand);
 }