SyncErrorForeignKeyViolation
A foreign key constraint was violated.
public sealed record SyncErrorForeignKeyViolation : SyncError, IEquatable<SyncError>, IEquatable<SyncErrorForeignKeyViolation>
Constructors
SyncErrorForeignKeyViolation
public SyncErrorForeignKeyViolation(string TableName, string PkValue, string Details)
A foreign key constraint was violated.
| Parameter | Type | Description |
|---|---|---|
TableName |
String |
Table where FK violation occurred. |
PkValue |
String |
Primary key value of the affected row. |
Details |
String |
Additional details about the violation. |
Properties
TableName
public string TableName { get; init; }
Table where FK violation occurred.
PkValue
public string PkValue { get; init; }
Primary key value of the affected row.
Details
public string Details { get; init; }
Additional details about the violation.