Thank's to all. Stupid me. But still not working. Is there any documentation how to compile SQLite.NET.2010 solution with SQLITE_DEFAULT_FOREIGN_KEYS=1. I think, that the problem is, that i am using precompiled SQLite.Interop.dll (which is compiled without SQLITE_DEFAULT_FOREIGN_KEYS=1 - i think - downloaded from http://system.data.sqlite.org/downloads/1.0.80.0/sqlite-netFx40-binary-Win32-2010-1.0.80.0.zip ).
Is there any documentation, how is SQLite.Interop.2010 project integraded into System.Data.SQLite.2010 project? 2012/4/6 Joe Mistachkin <sql...@mistachkin.com> > > Matjaž Cof wrote: > > > > I am running the latest version. (Just starting to use SQLite and really > > like it). > > Like i sad, i don't want to write sql every time i connec't to database. > > And i use EntityFramework, witch means that ObjectContext doesn't have > any > > ExecuteSql method and because of that, i try to recompile with > > SQLITE_DEFAULT_FOREIGN_KEYS. > > > > It looks like you'll need to make sure you have the > "SQLITE_DEFAULT_FOREIGN_KEYS=1" > set in your preprocess defines (i.e. you cannot just define it with no > value). > > -- > Joe Mistachkin > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users