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 | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (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 | (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.) |