SQLite on C# Cross-Platform Applications
        Posted  
        
            by alienv
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by alienv
        
        
        
        Published on 2010-03-08T10:38:34Z
        Indexed on 
            2010/03/08
            11:06 UTC
        
        
        Read the original article
        Hit count: 892
        
Can someone help/guide me with using SQLite lib on Linux (MONO) and Windows (.NET)
On linux i use native mono sqlite client, and on windows i use http://sqlite.phxsoftware.com/
is there a way to define 'using' directives like this :
#if (linux)
  using Mono.Data.Sqlite;
#else
  using System.Data.SQLite;
Another problem is small differencies on both implementations, like :
cmd = new SqliteCommand(); // mono
cmd = new SQLiteCommand(); // sqlite.phxsoftware.com
Waiting for any help
If you know better or simplier way to do this it'll very thankfull for info.
Thanks
© Stack Overflow or respective owner