Table of Contents

Struct SqlUpsertNodeUpdatePart

Namespace
LfrlAnvil.Sql.Expressions.Persistence
Assembly
LfrlAnvil.Sql.Core.dll

Represents an update part of the SqlUpsertNode.

public readonly record struct SqlUpsertNodeUpdatePart : IEquatable<SqlUpsertNodeUpdatePart>
Implements
Inherited Members

Constructors

SqlUpsertNodeUpdatePart(IEnumerable<SqlValueAssignmentNode>, SqlConditionNode?)

Represents an update part of the SqlUpsertNode.

public SqlUpsertNodeUpdatePart(IEnumerable<SqlValueAssignmentNode> Assignments, SqlConditionNode? Filter = null)

Parameters

Assignments IEnumerable<SqlValueAssignmentNode>

Collection of value assignments that the update part of the upsert refers to.

Filter SqlConditionNode

Optional filter for rows to update.

Properties

Assignments

Collection of value assignments that the update part of the upsert refers to.

public IEnumerable<SqlValueAssignmentNode> Assignments { get; init; }

Property Value

IEnumerable<SqlValueAssignmentNode>

Filter

Optional filter for rows to update.

public SqlConditionNode? Filter { get; init; }

Property Value

SqlConditionNode