SortDefinition<TDocument> Class |
Namespace: MongoDB.Driver
public abstract class SortDefinition<TDocument>
The SortDefinition< TDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | SortDefinition<TDocument> | Initializes a new instance of the SortDefinition< TDocument> class |
Name | Description | |
---|---|---|
![]() ![]() | Implicit(String to SortDefinition<TDocument>) |
Performs an implicit conversion from String to SortDefinition<TDocument>.
|
![]() ![]() | Implicit(BsonDocument to SortDefinition<TDocument>) |
Performs an implicit conversion from BsonDocument to SortDefinition<TDocument>.
|
Name | Description | |
---|---|---|
![]() | Ascending<TDocument>(Expression<Func<TDocument, Object>>) | Overloaded.
Combines an existing sort with an ascending field.
(Defined by SortDefinitionExtensions.) |
![]() | Ascending<TDocument>(FieldDefinition<TDocument>) | Overloaded.
Combines an existing sort with an ascending field.
(Defined by SortDefinitionExtensions.) |
![]() | Descending<TDocument>(Expression<Func<TDocument, Object>>) | Overloaded.
Combines an existing sort with an descending field.
(Defined by SortDefinitionExtensions.) |
![]() | Descending<TDocument>(FieldDefinition<TDocument>) | Overloaded.
Combines an existing sort with an descending field.
(Defined by SortDefinitionExtensions.) |
![]() | MetaTextScore<TDocument> |
Combines an existing sort with a descending sort on the computed relevance score of a text search.
The field name should be the name of the projected relevance score field.
(Defined by SortDefinitionExtensions.) |
![]() | 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