Skip to content

RowsResponse ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Responses

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

The rows a write inserted, updated or deleted.

public

Contents ​

Constructors (2) | Methods (4) | Properties (2)

Constructors ​

RowsResponse ​

Initializes a new instance of the RowsResponse class.

csharp
RowsResponse(int affected)

Parameters ​

  • affected (int) - The number of rows written.

RowsResponse ​

Initializes a new instance of the RowsResponse class, with the rows written.

csharp
RowsResponse(int affected, string rows)

Parameters ​

  • affected (int) - The number of rows written, related ones not counted.
  • rows (string) - The rows as written, with their related rows and the keys the database generated; or null.

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Affected ​

Gets the number of rows written.

Type: int

Rows ​

Gets an insert's or a save's rows as written, keys the database generated among them; null for others.

Type: List<Dictionary<string, object?>>?