Exemplo n.º 1
0
        public SQLiteAsyncConnection(string databasePath, SQLiteOpenFlags?flags = null, bool storeDateTimeAsTicks = false)
        {
            _flags = flags ?? (SQLiteOpenFlags.ReadWrite | SQLiteOpenFlags.Create | SQLiteOpenFlags.NoMutex | SQLiteOpenFlags.SharedCache);

            _connectionString = new SQLiteConnectionString(databasePath, storeDateTimeAsTicks);
            _pool             = new SQLiteConnectionPool(_connectionString, _flags);
        }
Exemplo n.º 2
0
 public SQLiteConnectionPoolConnection(SQLiteConnection conn, SQLiteConnectionPool pool)
 {
     _pool = pool;
     Connection = conn;
 }