Entity Framework SQL Error 19 - Foreign Key Constraint Failed
I've described the problem in significant detail here: https://stackoverflow.com/questions/74162855/entity-framework-sql-error-19-foreign-key-constraint-failed
Not sure why I am getting the error I am getting. If you guys want to replicate the error, you should change the connection string
Data Source =
to your respective path of where the database CoffeeShop.db
is inStack Overflow
Entity Framework SQL Error 19: 'Foreign KEY constraint failed'
Github Repo: https://github.com/blueboy90780/Coffee-POS-System/tree/master
I have small console application using .NET 6 and EF Core 6.0 with an SQLite database. When running my code I get the foll...
2 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I don't think I have any constraints at all. Take a look at my domain file