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