ExecuteReader(CommandBehavior) Method

Syntax:

IDataReader IDbCommand.ExecuteReader(CommandBehavior behavior)

Description:

Executes the CommandText using the specified behavior, returning the result set in an RdmDataReader.

This method is an explicit interface member implementation and can only be used when the RdmCommand instance is cast to an IDbCommand interface.

Parameters:

behavior

Type: System.Data.CommandBehavior

Specifies the particular behavior for executing the command.

Return Value:

Type: System.Data.IDataReader

An RdmDataReader used to retrieve the results.

Exceptions:

Exception Condition
RdmException The SQL engine encountered an error processing the command.

Reference:

For more information, reference MSDN documentation for: System.Data.IDbCommand.ExecuteReader(CommandBehavior)