We are using zetetic SQLCipher with Entity Framework Core (5.0.7) on Windows 10 (Console app).
In the basic example we have 2 tables:
- User table: | Id(PK) | Username |
- Notification table: | UserID (FK) | Notification data |
We configure DBContext to delete Notification records by FK when User records are removed.
This doesn’t work in configuration zetetic SQLCipher + EFCore.
The same code works ok with default SQLite and EFCore.
The only difference in final binaries:
zetetic config: SQLitePCLRaw.bundle_zetetic provides SQLitePCLRaw.batteries_v2.dll v. 126.96.36.1996
basic config: e_sqlite.dll is used instead of sqlcipher.dll and standard SQLitePCLRaw.batteries_v2.dll