Ejemplo n.º 1
0
 private static bool DisplayProvider(ProviderType provider)
 {
     return(ProxyProviderLoader.HasProvider(provider));
 }
Ejemplo 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);
 }
Ejemplo n.º 3
0
 public SqlProxyCommand(string cmdText)
 {
     Command    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText);
     Parameters = new SqlProxyParameterCollection(Command);
 }
Ejemplo n.º 4
0
 public SqlProxyCommand(IDbCommand command)
 {
     Command    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", command);
     Parameters = new SqlProxyParameterCollection(Command);
 }
Ejemplo n.º 5
0
 public SqlProxyCommand(string cmdText, SqlProxyConnection connection)
 {
     dbConnection = connection;
     dbCommand    = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText, connection);
     Parameters   = new SqlProxyParameterCollection(dbCommand);
 }
Ejemplo n.º 6
0
 public SqlProxyCommand()
 {
     dbCommand  = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand");
     Parameters = new SqlProxyParameterCollection(dbCommand);
 }