DbCommand.IDbCommand.ExecuteReader Método
Definição
Executa o CommandText no Connection e compila um IDataReader.Executes the CommandText against the Connection and builds an IDataReader.
Sobrecargas
| IDbCommand.ExecuteReader() |
Executa o CommandText no Connection e compila um IDataReader.Executes the CommandText against the Connection and builds an IDataReader. |
| IDbCommand.ExecuteReader(CommandBehavior) |
Executa o CommandText para o Connection e cria um IDataReader usando um dos valores de CommandBehavior.Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values. |
IDbCommand.ExecuteReader()
Executa o CommandText no Connection e compila um IDataReader.Executes the CommandText against the Connection and builds an IDataReader.
virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader() = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader ();
abstract member System.Data.IDbCommand.ExecuteReader : unit -> System.Data.IDataReader
override this.System.Data.IDbCommand.ExecuteReader : unit -> System.Data.IDataReader
Function ExecuteReader () As IDataReader Implements IDbCommand.ExecuteReader
Retornos
Um objeto IDataReader.An IDataReader object.
Implementações
Comentários
Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de DbCommand é convertida em uma interface de IDbCommand.It can be used only when the DbCommand instance is cast to an IDbCommand interface.
Para obter mais informações, consulte ExecuteReader.For more information, see ExecuteReader.
Aplica-se a
IDbCommand.ExecuteReader(CommandBehavior)
Executa o CommandText para o Connection e cria um IDataReader usando um dos valores de CommandBehavior.Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.
virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader(System::Data::CommandBehavior behavior) = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader (System.Data.CommandBehavior behavior);
abstract member System.Data.IDbCommand.ExecuteReader : System.Data.CommandBehavior -> System.Data.IDataReader
override this.System.Data.IDbCommand.ExecuteReader : System.Data.CommandBehavior -> System.Data.IDataReader
Function ExecuteReader (behavior As CommandBehavior) As IDataReader Implements IDbCommand.ExecuteReader
Parâmetros
- behavior
- CommandBehavior
Um dos valores de enumeração que especifica o comportamento do comando.One of the enumeration values that specifies the command behavior.
Retornos
Um objeto IDataReader.An IDataReader object.
Implementações
Comentários
Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de DbCommand é convertida em uma interface de IDbCommand.It can be used only when the DbCommand instance is cast to an IDbCommand interface.
Para obter mais informações, consulte ExecuteReader.For more information, see ExecuteReader.