title: SQLite on C# Cross-Platform Applications
body: <p>Can someone help/guide me with using SQLite lib on Linux (MONO) and Windows (.NET)</p>
  
  <p>On linux i use native mono sqlite client, and on windows i use <a href="http://sqlite.phxsoftware.com/" rel="noreferrer">http://sqlite.phxsoftware.com/</a></p>
  
  <p>is there a way to define 'using' directives like this :</p>
  
  <pre><code>#if (linux)
    using Mono.Data.Sqlite;
  #else
    using System.Data.SQLite;
  </code></pre>
  
  <p>Another problem is small differencies on both implementations, like :</p>
  
  <pre><code>cmd = new SqliteCommand(); // mono
  cmd = new SQLiteCommand(); // sqlite.phxsoftware.com
  </code></pre>
  
  <p>Waiting for any help</p>
  
  <p>If you know <strong>better</strong> or simplier way to do this it'll very thankfull for info.</p>
  
  <p>Thanks</p>