Method As
As<TProjection>(IBsonSerializer<TProjection>)
Creates a client side projection that is implemented solely by using a different serializer.
public ProjectionDefinition<TSource, TProjection> As<TProjection>(IBsonSerializer<TProjection> projectionSerializer = null)
Parameters
projectionSerializer
IBsonSerializer <TProjection>The projection serializer.
Returns
- Projection
Definition <TSource, TProjection> A client side deserialization projection.
Type Parameters
TProjection
The type of the projection.