Class SqlBatchItemError

Namespace: redb.Route.Sql
Assembly: redb.Route.Sql.dll

A batch item that failed in a batch configured with breakBatchOnError=false: its statement was undone to the
item's savepoint and the batch went on. The failed items of a batch are carried in the
header.

public sealed record SqlBatchItemError : IEquatable<SqlBatchItemError>

Inheritance

Object→SqlBatchItemError

Implements

Properties

Index

Zero-based position of the item in the batch source.

public int Index { get; init; }

Message

The provider's error message.

public string Message { get; init; }

SqlState

The SQLSTATE code when the provider reports one (), otherwise null.

public string? SqlState { get; init; }

Constructors

SqlBatchItemError(int, string, string?)

A batch item that failed in a batch configured with breakBatchOnError=false: its statement was undone to the