DataAccessAdapterCoreExecuteMultiRowDataTableRetrievalQueryAsync Method |
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public virtual Task<bool> ExecuteMultiRowDataTableRetrievalQueryAsync(
IRetrievalQuery queryToExecute,
DbDataAdapter dataAdapterToUse,
DataTable tableToFill,
IFieldPersistenceInfo[] fieldsPersistenceInfo,
CancellationToken cancellationToken
)
Public Overridable Function ExecuteMultiRowDataTableRetrievalQueryAsync (
queryToExecute As IRetrievalQuery,
dataAdapterToUse As DbDataAdapter,
tableToFill As DataTable,
fieldsPersistenceInfo As IFieldPersistenceInfo(),
cancellationToken As CancellationToken
) As Task(Of Boolean)
Parameters
- queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
Retrieval query to execute - dataAdapterToUse
- Type: System.Data.CommonDbDataAdapter
The dataadapter to use to fill the datatable. - tableToFill
- Type: System.DataDataTable
DataTable to fill - fieldsPersistenceInfo
- Type: SD.LLBLGen.Pro.ORMSupportClassesIFieldPersistenceInfo
Fields persistence info objects for the fields used for the query. Required for type conversion on values. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskBoolean
true if succeeded, false otherwise
Implements
IDataAccessAdapterExecuteMultiRowDataTableRetrievalQueryAsync(IRetrievalQuery, DbDataAdapter, DataTable, IFieldPersistenceInfo, CancellationToken)See Also