Method ProjectTo
- Namespace
- Mapperion
- Assembly
- Mapperion.dll
ProjectTo<TDestination>(IQueryable)
Rewrites a query so the provider selects TDestination directly,
without materialising the source. Only maps a query provider can translate work here:
converters, resolvers and the before and after steps are reported, not skipped.
IQueryable<TDestination> ProjectTo<TDestination>(IQueryable source)
Parameters
sourceIQueryableThe query over the source type.
Returns
- IQueryable<TDestination>
The projected query.
Type Parameters
TDestinationThe type to project to.