Geez, I hate to be a pain in the ass, but I have one more problem.
I can't compile my NETCF project with that managed-only System.Data.SQLite.
Compiler says:
"Error 1 The type 'System.Data.Common.DbDataReader' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Mal Loth\...
Error 2 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Mal Loth\...
Error 3 The type 'System.Data.Common.DbTransaction' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Mal Loth\...
Error 4 The type 'System.Data.Common.DbCommand' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. C:\Documents and Settings\Mal Loth\..."
although I'm having references for System.Data in my project.
What the heck?! Is managed-only wrapper only compiled for full .NET?
EDIT:
Ok, sorry. I've used Your compact version and renamed its interop name to sqlite3.dll and created managed-only System.Data.SQLite for NET CF :).
Thanks for Your source Robert.