Table of Contents

Class BsonDocumentProjectionDefinition<TSource>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A BsonDocument based projection whose projection type is not yet known.

public sealed class BsonDocumentProjectionDefinition<TSource> : ProjectionDefinition<TSource>

Type Parameters

TSource

The type of the source.

Inheritance
BsonDocumentProjectionDefinition<TSource>
Inherited Members
Extension Methods

Constructors

BsonDocumentProjectionDefinition(BsonDocument)

Initializes a new instance of the BsonDocumentProjectionDefinition<TSource> class.

Properties

Document

Gets the document.

Methods

Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider)

Renders the projection to a RenderedProjectionDefinition<TProjection>.