ObjectProjectionDefinition<TSource> Methods |
The ObjectProjectionDefinition<TSource> generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Render |
Renders the projection to a RenderedProjectionDefinition<TProjection>.
(Overrides ProjectionDefinition<TSource>.Render(IBsonSerializer<TSource>, IBsonSerializerRegistry).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ElemMatch<TSource, TItem>(Expression<Func<TSource, IEnumerable<TItem>>>, FilterDefinition<TItem>) | Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.) | |
| ElemMatch<TSource, TItem>(Expression<Func<TSource, 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<TSource, TItem>(FieldDefinition<TSource>, FilterDefinition<TItem>) | Overloaded.
Combines an existing projection with a projection that filters the contents of an array.
(Defined by ProjectionDefinitionExtensions.) | |
| Exclude<TSource>(Expression<Func<TSource, Object>>) | Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.) | |
| Exclude<TSource>(FieldDefinition<TSource>) | Overloaded.
Combines an existing projection with a projection that excludes a field.
(Defined by ProjectionDefinitionExtensions.) | |
| Include<TSource>(Expression<Func<TSource, Object>>) | Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.) | |
| Include<TSource>(FieldDefinition<TSource>) | Overloaded.
Combines an existing projection with a projection that includes a field.
(Defined by ProjectionDefinitionExtensions.) | |
| MetaTextScore<TSource> |
Combines an existing projection with a text score projection.
(Defined by ProjectionDefinitionExtensions.) | |
| Slice<TSource>(Expression<Func<TSource, Object>>, Int32, Nullable<Int32>) | Overloaded.
Combines an existing projection with an array slice projection.
(Defined by ProjectionDefinitionExtensions.) | |
| Slice<TSource>(FieldDefinition<TSource>, 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.) |