Performs a query with a projection, and materialises the results as the specified type.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public virtual IList Project( Query query, Type projectedType ) |
Visual Basic (Declaration) |
---|
Public Overridable Function Project ( _ query As Query, _ projectedType As Type _ ) As IList |
Parameters
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
The query to be performed.
- projectedType
- Type: System..::.Type
The type of object to be materialised from the query results.
Return Value
A list of objects of the specified type.Implements
IUnitOfWork..::.Project(Query, Type)
Remarks
The results of the projection are not entities, and are not associated with
the unit of work.