Skip to content

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 ​

csharp
BatchOperationDto()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
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&lt;Dictionary&lt;string, JsonElement&gt;&gt;

Set ​

Gets or sets an update's columns and their values.

Type: Dictionary&lt;string, JsonElement&gt;

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?