ProjectionDefinition<TSource> Class |
Namespace: MongoDB.Driver
The ProjectionDefinition<TSource> type exposes the following members.
Name | Description | |
---|---|---|
![]() | ProjectionDefinition<TSource> | Initializes a new instance of the ProjectionDefinition<TSource> class |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Render(IBsonSerializer<TSource>, IBsonSerializerRegistry) |
Renders the projection to a RenderedProjectionDefinition<TProjection>.
|
![]() | Render(IBsonSerializer<TSource>, IBsonSerializerRegistry, LinqProvider) |
Renders the projection to a RenderedProjectionDefinition<TProjection>.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from 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.) |
![]() | Meta<TDocument> |
Combines an existing projection with a meta projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | MetaSearchHighlights<TDocument> |
Combines an existing projection with a search highlights projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | MetaSearchScore<TDocument> |
Combines an existing projection with a search score projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | MetaSearchScoreDetails<TDocument> |
Combines an existing projection with a search score details projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | MetaTextScore<TDocument> |
Combines an existing projection with a text score projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | SearchMeta<TDocument>(Expression<Func<TDocument, Object>>) | Overloaded.
Combines an existing projection with a search metadata projection.
(Defined by ProjectionDefinitionExtensions.) |
![]() | SearchMeta<TDocument>(FieldDefinition<TDocument>) | Overloaded.
Combines an existing projection with a search metadata 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.) |