Click or drag to resize
DaoBase.GetAsProjection Method (List<IDataValueProjector>, IGeneralDataProjector, ITransaction, IRetrievalQuery)
Executes the passed in retrievalquery and projects the resultset using the value projectors and the projector specified. IF a transaction is specified, the command is wired to the transaction and executed inside the transaction. The projection results will be stored in the projector.

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 void GetAsProjection(
	List<IDataValueProjector> valueProjectors,
	IGeneralDataProjector projector,
	ITransaction transactionToUse,
	IRetrievalQuery queryToExecute
)

Parameters

valueProjectors
Type: System.Collections.Generic.List<IDataValueProjector>
The value projectors.
projector
Type: SD.LLBLGen.Pro.ORMSupportClasses.IGeneralDataProjector
The projector to use for projecting a plain row onto a new object provided by the projector.
transactionToUse
Type: SD.LLBLGen.Pro.ORMSupportClasses.ITransaction
The transaction to use, if you execute this method inside a transcation. Specify null otherwise
queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClasses.IRetrievalQuery
The query to execute.

Implements

IDao.GetAsProjection(List<IDataValueProjector>, IGeneralDataProjector, ITransaction, IRetrievalQuery)
See Also