Method SizeLt
SizeLt(FieldDefinition<TDocument>, int)
Creates a size less than filter.
public FilterDefinition<TDocument> SizeLt(FieldDefinition<TDocument> field, int size)
Parameters
field
FieldDefinition<TDocument>The field.
size
intThe size.
Returns
- FilterDefinition<TDocument>
A size less than filter.
SizeLt(Expression<Func<TDocument, object>>, int)
Creates a size less than filter.
public FilterDefinition<TDocument> SizeLt(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 filter.