Method PullFilter
PullFilter<TItem>(FieldDefinition<TDocument>, FilterDefinition<TItem>)
Creates a pull operator.
public UpdateDefinition<TDocument> PullFilter<TItem>(FieldDefinition<TDocument> field, FilterDefinition<TItem> filter)
Parameters
field
FieldDefinition<TDocument>The field.
filter
FilterDefinition<TItem>The filter.
Returns
- UpdateDefinition<TDocument>
A pull operator.
Type Parameters
TItem
The type of the item.
PullFilter<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, FilterDefinition<TItem>)
Creates a pull operator.
public UpdateDefinition<TDocument> PullFilter<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>> field, FilterDefinition<TItem> filter)
Parameters
field
Expression<Func<TDocument, IEnumerable<TItem>>>The field.
filter
FilterDefinition<TItem>The filter.
Returns
- UpdateDefinition<TDocument>
A pull operator.
Type Parameters
TItem
The type of the item.
PullFilter<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>>, Expression<Func<TItem, bool>>)
Creates a pull operator.
public UpdateDefinition<TDocument> PullFilter<TItem>(Expression<Func<TDocument, IEnumerable<TItem>>> field, Expression<Func<TItem, bool>> filter)
Parameters
field
Expression<Func<TDocument, IEnumerable<TItem>>>The field.
filter
Expression<Func<TItem, bool>>The filter.
Returns
- UpdateDefinition<TDocument>
A pull operator.
Type Parameters
TItem
The type of the item.