Closed makingbloke closed 2 years ago
For SQL Server the message returned from the database contains the name of the constraint and table but for SQLite, I think it's not included in the error message. Duplicate of #35
@Giorgi also for various DB localizations (language settings) that would be impossible to parse generally to extract table or column name, right?
Yes, that's right
When a unique constraint fails is there a way to retrieve the table name and field name (or even the constraint name)? I'm using the latest versions for SQLite and SQL Server with EF Core 6 / .Net 6.