IndexKeysDefinitionBuilder<TDocument> Class |
Namespace: MongoDB.Driver
The IndexKeysDefinitionBuilder<TDocument> type exposes the following members.
Name | Description | |
---|---|---|
![]() | IndexKeysDefinitionBuilder<TDocument> | Initializes a new instance of the IndexKeysDefinitionBuilder<TDocument> class |
Name | Description | |
---|---|---|
![]() | Ascending(Expression<Func<TDocument, Object>>) |
Creates an ascending index key definition.
|
![]() | Ascending(FieldDefinition<TDocument>) |
Creates an ascending index key definition.
|
![]() | Combine(IEnumerable<IndexKeysDefinition<TDocument>>) |
Creates a combined index keys definition.
|
![]() | Combine(IndexKeysDefinition<TDocument>[]) |
Creates a combined index keys definition.
|
![]() | Descending(Expression<Func<TDocument, Object>>) |
Creates a descending index key definition.
|
![]() | Descending(FieldDefinition<TDocument>) |
Creates a descending index key definition.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Geo2D(Expression<Func<TDocument, Object>>) |
Creates a 2d index key definition.
|
![]() | Geo2D(FieldDefinition<TDocument>) |
Creates a 2d index key definition.
|
![]() | Geo2DSphere(Expression<Func<TDocument, Object>>) |
Creates a 2dsphere index key definition.
|
![]() | Geo2DSphere(FieldDefinition<TDocument>) |
Creates a 2dsphere index key definition.
|
![]() | GeoHaystack(Expression<Func<TDocument, Object>>, Expression<Func<TDocument, Object>>) | Obsolete.
Creates a geo haystack index key definition.
|
![]() | GeoHaystack(FieldDefinition<TDocument>, FieldDefinition<TDocument>) | Obsolete.
Creates a geo haystack index key definition.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Hashed(Expression<Func<TDocument, Object>>) |
Creates a hashed index key definition.
|
![]() | Hashed(FieldDefinition<TDocument>) |
Creates a hashed index key definition.
|
![]() | Text(Expression<Func<TDocument, Object>>) |
Creates a text index key definition.
|
![]() | Text(FieldDefinition<TDocument>) |
Creates a text index key definition.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Wildcard(Expression<Func<TDocument, Object>>) |
Creates a wildcard index key definition.
|
![]() | Wildcard(FieldDefinition<TDocument>) |
Creates a wildcard index key definition. The method doesn't expect to specify a wildcard key explicitly.
|
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.) |