BatchOperationDto
Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
One write of a batch: an insert, an update or a delete of a table's rows, as the row endpoints take it.
public
Contents
Constructors (1) | Methods (4) | Properties (7)
Constructors
BatchOperationDto
BatchOperationDto()Methods
GetType
GetType()ToString
ToString()Equals
Equals()GetHashCode
GetHashCode()Properties
Op
Gets or sets what the operation does: <c>insert</c>, <c>update</c> or <c>delete</c>.
Type: string?
Table
Gets or sets the table.
Type: string?
Schema
Gets or sets the table's schema, or null for the default one (or the tenant's).
Type: string?
Rows
Gets or sets an insert's rows, as column name to value.
Type: List<Dictionary<string, JsonElement>>
Set
Gets or sets an update's columns and their values.
Type: Dictionary<string, JsonElement>
Filter
Gets or sets an update's or a delete's condition, as <c>$filter</c> writes it.
Type: string?
Where
Gets or sets an update's or a delete's condition as a JSON tree, ANDed with Filter.
Type: JsonElement?