IDataAccessAdapterExecuteMultiRowRetrievalQueryAsync Method |
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 Task ExecuteMultiRowRetrievalQueryAsync(
IRetrievalQuery queryToExecute,
IEntityFactory2 entityFactory,
IEntityCollection2 collectionToFill,
IFieldPersistenceInfo[] fieldsPersistenceInfo,
bool allowDuplicates,
IEntityFields2 fieldsUsedForQuery,
CancellationToken cancellationToken
)
Function ExecuteMultiRowRetrievalQueryAsync (
queryToExecute As IRetrievalQuery,
entityFactory As IEntityFactory2,
collectionToFill As IEntityCollection2,
fieldsPersistenceInfo As IFieldPersistenceInfo(),
allowDuplicates As Boolean,
fieldsUsedForQuery As IEntityFields2,
cancellationToken As CancellationToken
) As Task
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 - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskSee Also