Click or drag to resize
DaoBaseGetAsProjectionT Method (ITransaction, 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 specified, 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.3.0.0 (5.3.0)
Syntax
public List<T> GetAsProjection<T>(
	ITransaction containingTransaction,
	IRetrievalQuery queryToExecute
)

Parameters

containingTransaction
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction if caller is added to a transaction, or null of not.
queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
The query to execute.

Type Parameters

T

Return Value

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

Implements

IDaoGetAsProjectionT(ITransaction, IRetrievalQuery)
See Also