Click or drag to resize
IDataAccessAdapterExecuteMultiRowRetrievalQuery Method
Executes the passed in retrieval query and, if not null, runs it inside the passed in transaction. Used to read 1 or more rows. It sets the connection object of the command object of query object passed in to the connection object of this class.

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
void ExecuteMultiRowRetrievalQuery(
	IRetrievalQuery queryToExecute,
	IEntityFactory2 entityFactory,
	IEntityCollection2 collectionToFill,
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	bool allowDuplicates,
	IEntityFields2 fieldsUsedForQuery
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
Retrieval query to execute
entityFactory
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory2
the factory object which can produce the entities this method has to fill.
collectionToFill
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection2
Collection to fill with the retrieved rows.
fieldsPersistenceInfo
Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
The persistence information for the fields of the entity created by entityFactory
allowDuplicates
Type: SystemBoolean
Flag to signal if duplicates in the datastream should be loaded into the collection (true) or not (false)
fieldsUsedForQuery
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields2
Fields used for producing the query
See Also