On 29 May 2012, at 2:26pm, Peter LitsegÄrd <peter.litseg...@foi.se> wrote:

> 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?

There is no such thing as version 1.0.80.0 of SQLite.  Can you figure out which 
version of SQLite you're actually using ?  You can use

SELECT sqlite_version()

Do you have foreign keys enabled ?  See section 2 of

<http://sqlite.org/foreignkeys.html>

What results are you getting when you try to execute that ?  Does it return any 
result code at all, or does it just crash ?

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to