On Tue, May 29, 2012 at 9:26 AM, Peter Litsegård <peter.litseg...@foi.se>wrote:
> Hi! > > I have a very simple database hsoted by SQLite v1.0.80.0. I'm struggling > to get cascade deletes to work using EF. I have set the OnDelete to > 'Cascade' on the "one end" but it fails to execute. Is this a known issue? > Are there any workarounds? > > Thanks! > _______________________________________________ > A quick search seems to indicate you need to either: explicitly ensure execution of the PRAGMA foreign_keys = true command ...before attempting such a transaction -OR- append the connection string attribute as implemented here, maybe? http://system.data.sqlite.org/index.html/tktview?name=464e6cee2f -- -- -- --Ô¿Ô-- K e V i N _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users