Table of Contents

Class UpdateOperation

Namespace
eQuantic.Core.Data.Migration
Assembly
eQuantic.Core.Data.dll

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

entityType Type
predicate LambdaExpression
sets IReadOnlyList<FieldSet>

Properties

Predicate

The predicate selecting the documents to update.

public LambdaExpression Predicate { get; }

Property Value

LambdaExpression

Sets

The assignments to apply.

public IReadOnlyList<FieldSet> Sets { get; }

Property Value

IReadOnlyList<FieldSet>