title: Error using BeginTransaction in csharp-sqlite .Net library
body: <p>I am using csharp-sqlite library.</p>
  
  <p>The code:</p>
  
  <pre><code>var conn = new SQLite.SQLiteConnection(DatabasePath);
  conn.Execute("insert or replace into Option(Key, Value) values ('A', '1')");
  conn.Execute("insert or replace into Option(Key, Value) values ('B', '2')");
  </code></pre>
  
  <p>It works as I expect. However when I use BeginTransaction() and Commit, I get an exception in the second Excute: "CannotOpen", the native is SQLITE_CANTOPEN (error 14).</p>
  
  <p>The code would be:</p>
  
  <pre><code>var conn = new SQLite.SQLiteConnection(DatabasePath);
  try
  {
    conn.BeginTransaction();
    conn.Execute("insert or replace into Option(Key, Value) values ('A', '1')");
    conn.Execute("insert or replace into Option(Key, Value) values ('B', '2')");
    conn.Commit();
  }
  catch (SQLiteException ex)
  {
       _conn.Rollback();
  
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Thank you</p>