ProjectionDefinition<TSource> Class |
Namespace: MongoDB.Driver
public abstract class ProjectionDefinition<TSource>
The ProjectionDefinition< TSource> type exposes the following members.
Name | Description | |
---|---|---|
![]() | ProjectionDefinition<TSource> | Initializes a new instance of the ProjectionDefinition< TSource> class |
Name | Description | |
---|---|---|
![]() | Object.) | |
![]() | Object.) | |
![]() | Render |
Renders the projection to a RenderedProjectionDefinition<TProjection>.
|
![]() | Object.) |
Name | Description | |
---|---|---|
![]() ![]() | Implicit(String to ProjectionDefinition<TSource>) |
Performs an implicit conversion from String to ProjectionDefinition<TSource, TProjection>.
|
![]() ![]() | Implicit(BsonDocument to ProjectionDefinition<TSource>) |
Performs an implicit conversion from BsonDocument to ProjectionDefinition<TSource>.
|
Name | Description | |
---|---|---|
![]() | ElemMatch<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, FilterDefinition<TItem>) | Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.) |
![]() | ElemMatch<TDocument, TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, Expression<Func<TItem, Boolean>>) | Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.) |
![]() | ElemMatch<TDocument, TItem>(FieldDefinition<TDocument>, FilterDefinition<TItem>) | Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.) |
![]() | Exclude<TDocument>(Expression<Func<TDocument, Object>>) | Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.) |
![]() | Exclude<TDocument>(FieldDefinition<TDocument>) | Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.) |
![]() | Include<TDocument>(Expression<Func<TDocument, Object>>) | Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.) |
![]() | Include<TDocument>(FieldDefinition<TDocument>) | Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.) |
![]() | MetaTextScore<TDocument> |
Combines an existing projection with a text score projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | Slice<TDocument>(Expression<Func<TDocument, Object>>, Int32, Nullable<Int32>) | Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | Slice<TDocument>(FieldDefinition<TDocument>, Int32, Nullable<Int32>) | Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | 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