DataAccessAdapterCoreExecuteMultiRowRetrievalQuery 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.5.0.0 (5.5.18.1019)
Syntax public virtual void ExecuteMultiRowRetrievalQuery(
IRetrievalQuery queryToExecute,
IEntityFactory2 entityFactory,
IEntityCollection2 collectionToFill,
IFieldPersistenceInfo[] fieldsPersistenceInfo,
bool allowDuplicates,
IEntityFields2 fieldsUsedForQuery
)
Public Overridable 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.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
Implements
IDataAccessAdapterExecuteMultiRowRetrievalQuery(IRetrievalQuery, IEntityFactory2, IEntityCollection2, IFieldPersistenceInfo, Boolean, IEntityFields2)See Also