Method GeoSpatial
GeoSpatial<TMember>(Expression<Func<TDocument, TMember>>)
Sets the key name to create a geospatial index on.
public static IndexKeysBuilder<TDocument> GeoSpatial<TMember>(Expression<Func<TDocument, TMember>> memberExpression)
Parameters
memberExpression
Expression<Func<TDocument, TMember>>The member expression.
Returns
- IndexKeysBuilder<TDocument>
The builder (so method calls can be chained).
Type Parameters
TMember
The type of the member.