Firebird ADO.NET Provider SDK Documentation - v1.7

FbCommand.ExecuteReader Method (CommandBehavior)

Executes the query and builds an FbDataReader using one of the CommandBehavior values.

[Visual Basic]
Overloads Public Function ExecuteReader( _
   ByVal behavior As CommandBehavior _
) As FbDataReader
[C#]
public FbDataReader ExecuteReader(
   CommandBehavior behavior
);

Parameters

behavior
One of the CommandBehavior values.

Return Value

An FbDataReader object.

Exceptions

Exception Type Condition
InvalidOperationException

The connection does not exist.

-or-

The connection is not open.

-or-

The transaction is not valid.

See Also

FbCommand Class | FirebirdSql.Data.Firebird Namespace | FbCommand.ExecuteReader Overload List