SortDefinitionBuilderTDocument Methods |
The SortDefinitionBuilderTDocument generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Ascending(ExpressionFuncTDocument, Object) |
Creates an ascending sort.
| |
| Ascending(FieldDefinitionTDocument) |
Creates an ascending sort.
| |
| Combine(SortDefinitionTDocument) |
Creates a combined sort.
| |
| Combine(IEnumerableSortDefinitionTDocument) |
Creates a combined sort.
| |
| Descending(ExpressionFuncTDocument, Object) |
Creates a descending sort.
| |
| Descending(FieldDefinitionTDocument) |
Creates a descending sort.
| |
| 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.) | |
| MetaTextScore |
Creates a descending sort on the computed relevance score of a text search.
The name of the key should be the name of the projected relevence score field.
| |
| 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.) |