Click or drag to resize

DaoBasePerformExecuteSingleRowRetrievalQuery Method

Performs the execute single row retrieval query action. This method simply calls Execute on the queryToExecute passed in.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected virtual IDataReader PerformExecuteSingleRowRetrievalQuery(
	IRetrievalQuery queryToExecute,
	CommandBehavior behavior
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute.
behavior
Type: System.DataCommandBehavior
The commandbehavior to pass to Execute.

Return Value

Type: IDataReader
live datareader created by the execute method
Remarks
Use this method to pass a different command behavior to queryToExecute.Execute(), which is necessary for ASE sybase for example, as the Sybase ASE provider has a critical bug in some versions where SingleRow doesn't work but SingleResult will.
See Also