DataAccessAdapterCoreFetchProjectionT Method (ListT, IRetrievalQuery) |
Executes the passed in retrievalquery and projects the resultset onto instances of T (each row is materialized into an instance of T).
If a transaction is in progress, the command is wired to the transaction and executed inside the transaction. The projection results
will be stored in the specified destination set.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax protected void FetchProjection<T>(
List<T> destination,
IRetrievalQuery queryToExecute
)
Protected Sub FetchProjection(Of T) (
destination As List(Of T),
queryToExecute As IRetrievalQuery
)
Parameters
- destination
- Type: System.Collections.GenericListT
The destination to which instances of T will be added. - queryToExecute
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute.
Type Parameters
- T
See Also