MssqlReadbackUnavailableException class

Raised when a write cannot report the row it stored.

A table with an INSTEAD OF trigger is the case: the statement the caller wrote is never the one that runs, so OUTPUT describes rows the trigger may have discarded or rewritten, and SCOPE_IDENTITY() belongs to whatever the trigger inserted. Returning a plausible row would be wrong.

Inheritance

Constructors

MssqlReadbackUnavailableException({required String table, required String operation, required String reason})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
A sentence naming what happened and, where there is one, what to do.
no setteroverride
operation → String
final
reason → String
Why no readback is possible, as a sentence fragment.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
table → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited