Class FindExpressionProjectionDefinition<TSource, TProjection>

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

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

Type Parameters

TSource

The type of the source.

TProjection

The type of the projection.

Inheritance

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)

Renders the projection to a RenderedProjectionDefinition.