| IDataAccessAdapter.ExecuteMultiRowRetrievalQuery 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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntaxvoid ExecuteMultiRowRetrievalQuery(
	IRetrievalQuery queryToExecute,
	IEntityFactory2 entityFactory,
	IEntityCollection2 collectionToFill,
	IFieldPersistenceInfo[] fieldsPersistenceInfo,
	bool allowDuplicates,
	IEntityFields2 fieldsUsedForQuery
)
Sub ExecuteMultiRowRetrievalQuery ( 
	queryToExecute As IRetrievalQuery,
	entityFactory As IEntityFactory2,
	collectionToFill As IEntityCollection2,
	fieldsPersistenceInfo As IFieldPersistenceInfo(),
	allowDuplicates As Boolean,
	fieldsUsedForQuery As IEntityFields2
)
Parameters
- queryToExecute
 - Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
Retrieval query to execute - entityFactory
 - Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFactory2
the factory object which can produce the entities this method has to fill. - collectionToFill
 - Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCollection2
Collection to fill with the retrieved rows. - fieldsPersistenceInfo
 - Type:SD.LLBLGen.Pro.ORMSupportClasses.IFieldPersistenceInfo[]
The persistence information for the fields of the entity created by entityFactory - 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.IEntityFields2
Fields used for producing the query 
See Also