DataAccessAdapterCoreExecuteMultiRowDataTableRetrievalQuery Method (IRetrievalQuery, DbDataAdapter, DataTable, IFieldPersistenceInfo) |
Executes the passed in retrieval query and returns the results in thedatatable specified using the passed in data-adapter.
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.8.0.0 (5.8.21.0111)
Syntax public virtual bool ExecuteMultiRowDataTableRetrievalQuery(
IRetrievalQuery queryToExecute,
DbDataAdapter dataAdapterToUse,
DataTable tableToFill,
IFieldPersistenceInfo[] fieldsPersistenceInfo
)
Public Overridable Function ExecuteMultiRowDataTableRetrievalQuery (
queryToExecute As IRetrievalQuery,
dataAdapterToUse As DbDataAdapter,
tableToFill As DataTable,
fieldsPersistenceInfo As IFieldPersistenceInfo()
) As 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.
Return Value
Type:
Booleantrue if succeeded, false otherwise
Implements
IDataAccessAdapterExecuteMultiRowDataTableRetrievalQuery(IRetrievalQuery, DbDataAdapter, DataTable, IFieldPersistenceInfo)See Also