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
AssignmentsIEnumerable<SqlValueAssignmentNode>Collection of value assignments that the update part of the upsert refers to.
FilterSqlConditionNodeOptional 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
Filter
Optional filter for rows to update.
public SqlConditionNode? Filter { get; init; }