Class BsonDocumentProjectionDefinition<TSource, TProjection>
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
public sealed class BsonDocumentProjectionDefinition<TSource, TProjection> : ProjectionDefinition<TSource, TProjection>
Type Parameters
TSource
The type of the source.
TProjection
The type of the projection.
Inheritance
BsonDocumentProjectionDefinition<TSource, TProjection>
Inherited Members
Constructors
BsonDocumentProjectionDefinition(BsonDocument, IBsonSerializer)
Initializes a new instance of the BsonDocumentProjectionDefinition<TSource, TProjection> class.
Properties
Gets the document.
Gets the projection serializer.
Methods
Renders the projection to a RenderedProjectionDefinition.