[Mono-list] Why use Mono.Data.SQLite instead of System.Data.SQLite?

wezeku wezeku at gmail.com
Wed Sep 14 17:16:56 UTC 2016


I've compiled System.Data.SQLite.dll with the
"/property:UseSqliteStandard=true" option, meaning that it will load
sqlite3.dll on Windows and the corresponding .so file on Linux (instead of
the Windows native SQLite.Interop.dll). Testing it with a small sample
program, it runs perfectly on Windows, Debian and Raspbian.

This raises the question why, when and if Mono.Data.SQLite should be used
instead of System.Data.SQLite?

The System.Data.SQLite NuGet package gets updated more frequently than
Mono.Data.SQLite (right now, it's 18 months newer and includes the fix for
the DateTime conversion bug), so unless I'm missing something critical, it
seems it would be an advantage to use the former rather than the latter. Or
is there some iOS/Android specific code in Mono.Data.SQLite that makes it
necessary for those platforms?

--
John




--
View this message in context: http://mono.1490590.n4.nabble.com/Why-use-Mono-Data-SQLite-instead-of-System-Data-SQLite-tp4668686.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list