DaoBaseExecuteSingleRowRetrievalQuery Method |
Executes the passed in retrieval query and, if not null, runs it inside the passed in transaction. Used to read 1 row.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax public virtual void ExecuteSingleRowRetrievalQuery(
IRetrievalQuery queryToExecute,
ITransaction containingTransaction,
IEntityFields fieldsToFill,
IFieldPersistenceInfo[] fieldPersistenceInfos
)
Public Overridable Sub ExecuteSingleRowRetrievalQuery (
queryToExecute As IRetrievalQuery,
containingTransaction As ITransaction,
fieldsToFill As IEntityFields,
fieldPersistenceInfos As IFieldPersistenceInfo()
)
Parameters
- queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
Retrieval query to execute - containingTransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction if caller is added to a transaction, or null of not. - fieldsToFill
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
The IEntityFields object to store the fetched data in - fieldPersistenceInfos
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
The field persistence info objects used to produce the query. This array contains null for all excluded
fields and is necessary for the row fetcher. Overriders of this method should pass fieldsToFill.GetAsPersistenceInfoArray() to this parameter
Implements
IDaoExecuteSingleRowRetrievalQuery(IRetrievalQuery, ITransaction, IEntityFields, IFieldPersistenceInfo)See Also