Table of Contents

Constructor ExpressionFieldDefinition

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

ExpressionFieldDefinition(Expression<Func<TDocument, TField>>)

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

public ExpressionFieldDefinition(Expression<Func<TDocument, TField>> expression)

Parameters

expression Expression<Func<TDocument, TField>>

The expression.