SQLite 3.24.0
Entity Framework 6.2.0

The result cannot be coerced into a string (compiler error).

PRAGMA compilie_options does not return any of

SQLITE_OMIT_FOREIGN_KEY
SQLITE_OMIT_TRIGGER

Regards Urs

-----Original Message-----
From: sqlite-users [mailto:[email protected]] On 
Behalf Of Simon Slavin
Sent: Wednesday, September 12, 2018 7:10 PM
To: SQLite mailing list
Subject: Re: [sqlite] foreign_keys = 0N with Entity Framework 6.2.0

On 12 Sep 2018, at 2:04pm, Urs Wagner <[email protected]> wrote:

> The following code is returning 0. Why?

Which version of SQLite ?

You coerce the result of the call into an integer.  Can you make the call and 
display (or use a debugger to see) exactly what it's returning ?

If you do "PRAGMA compile_options" are either of these returned ?

SQLITE_OMIT_FOREIGN_KEY
SQLITE_OMIT_TRIGGER

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to