ProjectionDefinitionBuilder<TSource> Class |
Namespace: MongoDB.Driver
public sealed class ProjectionDefinitionBuilder<TSource>
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.
|
![]() | 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.
|
![]() | Object.) | |
![]() | Include(Expression<Func<TSource, Object>>) |
Creates a projection that includes a field.
|
![]() | Include(FieldDefinition<TSource>) |
Creates a projection that includes a field.
|
![]() | MetaTextScore |
Creates a text score 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.
|
![]() | 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.) |
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant