Table of Contents

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

source IQueryable

The query over the source type.

Returns

IQueryable<TDestination>

The projected query.

Type Parameters

TDestination

The type to project to.