Table of Contents

Class BsonDocumentFilterDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A BsonDocument based filter.

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

Type Parameters

TDocument

The type of the document.

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

Constructors

BsonDocumentFilterDefinition(BsonDocument)

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

Properties

Document

Gets the document.

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the filter to a BsonDocument.