Class ExpressionFieldDefinition

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

public sealed class ExpressionFieldDefinition<TDocument> : FieldDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance

ExpressionFieldDefinition

Inherited Members

Constructors

ExpressionFieldDefinition(LambdaExpression)

Initializes a new instance of the ExpressionFieldDefinition class.

Properties

Expression

Gets the expression.

Methods

Render(RenderArgs)

Renders the field to a RenderedFieldDefinition.