Table of Contents

Class FindExpressionProjectionDefinition<TSource, TProjection>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A find Expression based projection.

public sealed class FindExpressionProjectionDefinition<TSource, TProjection> : ProjectionDefinition<TSource, TProjection>

Type Parameters

TSource

The type of the source.

TProjection

The type of the projection.

Inheritance
ProjectionDefinition<TSource, TProjection>
FindExpressionProjectionDefinition<TSource, TProjection>
Inherited Members

Constructors

FindExpressionProjectionDefinition(Expression<Func<TSource, TProjection>>)

Initializes a new instance of the FindExpressionProjectionDefinition<TSource, TProjection> class.

Properties

Expression

Gets the expression.

Methods

Render(RenderArgs<TSource>)

Renders the projection to a RenderedProjectionDefinition<TProjection>.