Click or drag to resize
IDataAccessAdapterFetchDataReader Method (CommandBehavior, QueryParameters)
Creates a new Retrieval query from the elements passed in and executes that retrievalquery to return an open, ready to use IDataReader. The datareader's command behavior is set to the readerBehavior passed in. If a transaction is in progress, the command is wired to the transaction.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
IDataReader FetchDataReader(
	CommandBehavior readerBehavior,
	QueryParameters parameters


Type: System.DataCommandBehavior
The reader behavior to set.
Type: SD.LLBLGen.Pro.ORMSupportClassesQueryParameters
The parameters.

Return Value

Type: IDataReader
Open, ready to use IDataReader
Advanced functionality: be aware that the datareader returned is open, and the dataaccessadapter's connection is also open
See Also