ProjectionDefinitionBuilder<TSource> Class |
Namespace: MongoDB.Driver
The ProjectionDefinitionBuilder<TSource> type exposes the following members.
Name | Description | |
---|---|---|
![]() | ProjectionDefinitionBuilder<TSource> | Initializes a new instance of the ProjectionDefinitionBuilder<TSource> class |
Name | Description | |
---|---|---|
![]() | As<TProjection> |
Creates a client side projection that is implemented solely by using a different serializer.
|
![]() | Combine(ProjectionDefinition<TSource>[]) |
Combines the specified projections.
|
![]() | Combine(IEnumerable<ProjectionDefinition<TSource>>) |
Combines the specified projections.
|
![]() | ElemMatch<TItem>(Expression<Func<TSource, IEnumerable<TItem>>>, FilterDefinition<TItem>) |
Creates a projection that filters the contents of an array.
|
![]() | ElemMatch<TItem>(Expression<Func<TSource, IEnumerable<TItem>>>, Expression<Func<TItem, Boolean>>) |
Creates a projection that filters the contents of an array.
|
![]() | ElemMatch<TItem>(FieldDefinition<TSource>, FilterDefinition<TItem>) |
Creates a projection that filters the contents of an array.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Exclude(Expression<Func<TSource, Object>>) |
Creates a projection that excludes a field.
|
![]() | Exclude(FieldDefinition<TSource>) |
Creates a projection that excludes a field.
|
![]() | Expression<TProjection> |
Creates a projection based on the expression.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Include(Expression<Func<TSource, Object>>) |
Creates a projection that includes a field.
|
![]() | Include(FieldDefinition<TSource>) |
Creates a projection that includes a field.
|
![]() | Meta |
Creates a meta projection.
|
![]() | MetaSearchHighlights |
Creates a search highlights projection.
|
![]() | MetaSearchScore |
Creates a search score projection.
|
![]() | MetaSearchScoreDetails |
Creates a search score details projection.
|
![]() | MetaTextScore |
Creates a text score projection.
|
![]() | SearchMeta(Expression<Func<TSource, Object>>) |
Creates a search metadata projection.
|
![]() | SearchMeta(FieldDefinition<TSource>) |
Creates a search metadata projection.
|
![]() | Slice(Expression<Func<TSource, Object>>, Int32, Nullable<Int32>) |
Creates an array slice projection.
|
![]() | Slice(FieldDefinition<TSource>, Int32, Nullable<Int32>) |
Creates an array slice projection.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) |
![]() | ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) |
![]() | ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |