Problem with cascade delete using Entity Framework and System.Data.SQLite

前端 未结 4 1994
半阙折子戏
半阙折子戏 2020-12-10 02:44

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

4条回答
  •  忘掉有多难
    2020-12-10 03:30

    Sounds like a provider bug to me. The cascade should be picked up from the DB. Try it with SQL Server; you'll see it works there. You should report this to whoever wrote your SQLite provider.

提交回复
热议问题