예제 #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 );
    }
예제 #2
0
파일: SQLite.cs 프로젝트: seeseekey/CSCL
		//Verbindung
		public override bool Connect()
		{
			try
			{
				InstSQLiteDatabase=new SQLiteDatabase(Database);
			}
			catch
			{
				return false;
			}

			return true;
		}