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