Problem with cascade delete using Entity Framework and System.Data.SQLite
- by jamone
I have a SQLite DB that is set up so when I delete a Person the delete is cascaded. This works fine when I manually delete a Person (all records that reference the PersonID are deleted). But when I use Entity Framework to delete the Person I get an error:
System.InvalidOperationException: The operation failed: The relationship could not be…