Table of Contents

Class ExpressionFieldDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

An Expression based field.

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

Type Parameters

TDocument

The type of the document.

Inheritance
FieldDefinition<TDocument>
ExpressionFieldDefinition<TDocument>
Inherited Members

Constructors

ExpressionFieldDefinition(LambdaExpression)

Initializes a new instance of the ExpressionFieldDefinition<TDocument> class.

Properties

Expression

Gets the expression.

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the field to a string.