Method AnyNe
AnyNe<TItem>(FieldDefinition<TDocument>, TItem)
Creates a not equal filter for an array field.
public FilterDefinition<TDocument> AnyNe<TItem>(FieldDefinition<TDocument> field, TItem value)
Parameters
field
FieldDefinition<TDocument>The field.
value
TItemThe value.
Returns
- FilterDefinition<TDocument>
A not equal filter.
Type Parameters
TItem
The type of the item.
AnyNe<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, TItem)
Creates a not equal filter for an array field.
public FilterDefinition<TDocument> AnyNe<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 not equal filter.
Type Parameters
TItem
The type of the item.