Skip to content

BatchResponse ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Responses

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

What a batch did: each operation's result, in order.

public

Contents ​

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

Constructors ​

BatchResponse ​

Initializes a new instance of the BatchResponse class.

csharp
BatchResponse(BatchOperationResult} results, bool dryRun)

Parameters ​

  • results (BatchOperationResult}) - Each operation's result.
  • dryRun (bool) - Whether the writes were rolled back.

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Results ​

Gets each operation's result, in order.

Type: IReadOnlyList<BatchOperationResult>

DryRun ​

Gets a value indicating whether the writes were rolled back.

Type: bool