Click or drag to resize
ProjectionDefinitionBuilder<TSource>.Expression<TProjection> Method
Creates a projection based on the expression.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
Syntax
public ProjectionDefinition<TSource, TProjection> Expression<TProjection>(
	Expression<Func<TSource, TProjection>> expression
)

Parameters

expression
Type: Func<TSource, TProjection>>
The expression.

Type Parameters

TProjection
The type of the result.

Return Value

Type: ProjectionDefinition<TSource, TProjection>
An expression projection.
See Also

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant