Click or drag to resize
DataAccessAdapterCoreFetchProjectionT Method (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.

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
public virtual List<T> FetchProjection<T>(
	IRetrievalQuery queryToExecute
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute.

Type Parameters

T
Type of the return elements, one for each row

Return Value

Type: ListT
List of instances of T, one for each row in the resultset of queryToExecute

Implements

IDataAccessAdapterFetchProjectionT(IRetrievalQuery)
See Also