Method AnyLte
AnyLte<TItem>(FieldDefinition<TDocument>, TItem)
Creates a less than or equal filter for an array field.
public FilterDefinition<TDocument> AnyLte<TItem>(FieldDefinition<TDocument> field, TItem value)
Parameters
field
FieldDefinition<TDocument>The field.
value
TItemThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Type Parameters
TItem
The type of the item.
AnyLte<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Creates a less than or equal filter for an array field.
public FilterDefinition<TDocument> AnyLte<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>> field, TItem value)
Parameters
field
Expression<Func<TDocument, IEnumerable<TItem>>>The field.
value
TItemThe value.
Returns
- FilterDefinition<TDocument>
A less than or equal filter.
Type Parameters
TItem
The type of the item.