Click or drag to resize

DaoBase.ExecuteMultiRowRetrievalQuery 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.4.0.0 (5.4.0)
Syntax
public virtual void ExecuteMultiRowRetrievalQuery(
	IRetrievalQuery queryToExecute,
	ITransaction containingTransaction,
	IEntityCollection collectionToFill,
	bool allowDuplicates,
	IEntityFields fieldsUsedForQuery,
	IFieldPersistenceInfo[] fieldPersistenceInfos
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
Retrieval query to execute
containingTransaction
Type: SD.LLBLGen.Pro.ORMSupportClasses.ITransaction
A containing transaction if caller is added to a transaction, or null of not.
collectionToFill
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCollection
Collection to fill with the retrieved rows.
allowDuplicates
Type: System.Boolean
Flag to signal if duplicates in the datastream should be loaded into the collection (true) or not (false)
fieldsUsedForQuery
Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFields
Fields used for producing the query
fieldPersistenceInfos
Type:SD.LLBLGen.Pro.ORMSupportClasses.IFieldPersistenceInfo[]
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

IDao.ExecuteMultiRowRetrievalQuery(IRetrievalQuery, ITransaction, IEntityCollection, Boolean, IEntityFields,IFieldPersistenceInfo[])
See Also