Esempio n. 1
0
    /// <summary>
    /// Creates new instance of SQLiteVdbe class by compiling a statement
    /// </summary>
    /// <param name="query"></param>
    /// <returns>Vdbe</returns>
    public SQLiteVdbe( SQLiteDatabase db, String query )
    {
      vm = null;

      // prepare and compile 
#if NET_35
      Sqlite3.PrepareV2NoTail
#else
Sqlite3.sqlite3_prepare_v2
#endif
( db.Connection(), query, query.Length, ref vm, 0 );
    }
Esempio n. 2
0
		//Verbindung
		public override bool Connect()
		{
			try
			{
				InstSQLiteDatabase=new SQLiteDatabase(Database);
			}
			catch
			{
				return false;
			}

			return true;
		}