Table of Contents

Class ExpressionFilterDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

An Expression based filter.

public sealed class ExpressionFilterDefinition<TDocument> : FilterDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
FilterDefinition<TDocument>
ExpressionFilterDefinition<TDocument>
Inherited Members
Extension Methods

Constructors

ExpressionFilterDefinition(Expression<Func<TDocument, bool>>)

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

Properties

Expression

Gets the expression.

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the filter to a BsonDocument.