Class UpdateOperation
Applies a set of field assignments to the documents matching a predicate (a data migration).
public sealed class UpdateOperation : MigrationOperation
- Inheritance
-
UpdateOperation
- Inherited Members
Constructors
UpdateOperation(Type, LambdaExpression, IReadOnlyList<FieldSet>)
Applies a set of field assignments to the documents matching a predicate (a data migration).
public UpdateOperation(Type entityType, LambdaExpression predicate, IReadOnlyList<FieldSet> sets)
Parameters
entityTypeTypepredicateLambdaExpressionsetsIReadOnlyList<FieldSet>
Properties
Predicate
The predicate selecting the documents to update.
public LambdaExpression Predicate { get; }
Property Value
Sets
The assignments to apply.
public IReadOnlyList<FieldSet> Sets { get; }