IndexKeysDefinitionBuilder<TDocument> Methods |
The IndexKeysDefinitionBuilder< TDocument> generic type exposes the following members.
Name | Description | |
---|---|---|
Ascending(Expression<Func<TDocument, Object>>) |
Creates an ascending index key definition.
| |
Ascending(FieldDefinition<TDocument>) |
Creates an ascending index key definition.
| |
Combine(IndexKeysDefinition<TDocument>[]) |
Creates a combined index keys definition.
| |
Combine(IEnumerable<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>>) |
Creates a geo haystack index key definition.
| |
GeoHaystack(FieldDefinition<TDocument>, FieldDefinition<TDocument>) |
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.) |
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.) |