public SqlProviderParameterCollection(ISqlProviderCommand command)
 {
     Command    = command;
     sqlCommand = command.Command as SqlCommand;
 }
Exemplo n.º 2
0
 public SqlProviderDataAdapter(ISqlProviderCommand selectCommand) => sqlDataAdapter = new SqlDataAdapter(selectCommand.Command as SqlCommand);
Exemplo n.º 3
0
 public SqlProviderDataAdapter(ISqlProviderCommand selectCommand) => sqliteDataAdapter = new SQLiteDataAdapter(selectCommand.Command as SQLiteCommand);
Exemplo n.º 4
0
 public SqlProxyCommand(ISqlProviderCommand command)
 {
     Command    = command;
     Parameters = new SqlProxyParameterCollection(Command);
 }
Exemplo n.º 5
0
 public SqlProxyCommand(string cmdText, SqlProxyConnection connection, SqlProxyTransaction transaction)
 {
     dbCommand  = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText, connection.Connection, transaction.Transaction);
     Parameters = new SqlProxyParameterCollection(dbCommand);
 }
Exemplo n.º 6
0
        //public SqlProxyCommand(IDbCommand command)
        //{
        //    dbCommand = ProxyProviderLoader.CreateInstance<ISqlProviderCommand>("SqlProvider.SqlProviderCommand", command);
        //    Parameters = new SqlProxyParameterCollection(dbCommand);
        //}

        public SqlProxyCommand(string cmdText)
        {
            dbCommand  = ProxyProviderLoader.CreateInstance <ISqlProviderCommand>("SqlProvider.SqlProviderCommand", cmdText);
            Parameters = new SqlProxyParameterCollection(dbCommand);
        }