internal SQLiteStatement(SQLiteDatabase db, string query)
 {
     this.db = db;
     SQLiteDatabase.Result exitCode = SQLiteDatabase.sqlite3_prepare_v2(db.hDb, query, -1, out hStmt, IntPtr.Zero);
     if (exitCode != SQLiteDatabase.Result.SQLITE_OK)
     {
         throw new AmazonClientException(exitCode + " - " + db.ErrorMsg());
     }
 }
 public SQLiteStatement Step()
 {
     SQLiteDatabase.Result eResult = SQLiteDatabase.sqlite3_step(this.hStmt);
     if (eResult != SQLiteDatabase.Result.SQLITE_DONE)
     {
         throw new AmazonClientException(db.ErrorMsg());
     }
     return(this);
 }
 internal SQLiteStatement(SQLiteDatabase db, string query)
 {
     this.db = db;
     SQLiteDatabase.Result exitCode = SQLiteDatabase.sqlite3_prepare_v2(db.hDb, query, -1, out hStmt, IntPtr.Zero);
     if (exitCode != SQLiteDatabase.Result.SQLITE_OK)
         throw new AmazonClientException(exitCode + " - " + db.ErrorMsg());
 }