Table of Contents

Class ProjectionDefinition<TSource>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Base class for projections whose projection type is not yet known.

public abstract class ProjectionDefinition<TSource>

Type Parameters

TSource

The type of the source.

Inheritance
ProjectionDefinition<TSource>
Derived
Inherited Members
Extension Methods

Methods

Render(IBsonSerializer<TSource>, IBsonSerializerRegistry)

Renders the projection to a RenderedProjectionDefinition<TProjection>.

Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider)

Renders the projection to a RenderedProjectionDefinition<TProjection>.

Operators

implicit operator ProjectionDefinition<TSource>(BsonDocument)

Performs an implicit conversion from BsonDocument to ProjectionDefinition<TSource>.

implicit operator ProjectionDefinition<TSource>(string)

Performs an implicit conversion from string to ProjectionDefinition<TSource, TProjection>.