Skip to content

SqlErrorInfo.ReferencedTableName property

Gets or sets the name of the referenced (foreign) table for a foreign key violation, if it could be determined.

public string? ReferencedTableName { get; set; }

See Also