示例#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;
		}