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.4.0.0 (5.4.0)
Syntax protected virtual IDataReader PerformExecuteSingleRowRetrievalQuery(
IRetrievalQuery queryToExecute,
CommandBehavior behavior
)
Protected Overridable Function PerformExecuteSingleRowRetrievalQuery (
queryToExecute As IRetrievalQuery,
behavior As CommandBehavior
) As IDataReader
Parameters
- queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute. - behavior
- Type: System.DataCommandBehavior
The commandbehavior to pass to Execute.
Return Value
Type:
IDataReaderlive 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