Method All
All<TItem>(FieldDefinition<TDocument>, IEnumerable<TItem>)
Creates an all filter for an array field.
public FilterDefinition<TDocument> All<TItem>(FieldDefinition<TDocument> field, IEnumerable<TItem> values)
Parameters
field
FieldDefinition<TDocument>The field.
values
IEnumerable<TItem>The values.
Returns
- FilterDefinition<TDocument>
An all filter.
Type Parameters
TItem
The type of the item.
All<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, IEnumerable<TItem>)
Creates an all filter for an array field.
public FilterDefinition<TDocument> All<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>> field, IEnumerable<TItem> values)
Parameters
field
Expression<Func<TDocument, IEnumerable<TItem>>>The field.
values
IEnumerable<TItem>The values.
Returns
- FilterDefinition<TDocument>
An all filter.
Type Parameters
TItem
The type of the item.