Method SizeLte
SizeLte(FieldDefinition<TDocument>, int)
Creates a size less than or equal filter.
public FilterDefinition<TDocument> SizeLte(FieldDefinition<TDocument> field, int size)
Parameters
field
FieldDefinition<TDocument>The field.
size
intThe size.
Returns
- FilterDefinition<TDocument>
A size less than or equal filter.
SizeLte(Expression<Func<TDocument, object>>, int)
Creates a size less than or equal filter.
public FilterDefinition<TDocument> SizeLte(Expression<Func<TDocument, object>> field, int size)
Parameters
field
Expression<Func<TDocument, object>>The field.
size
intThe size.
Returns
- FilterDefinition<TDocument>
A size less than or equal filter.