Esempio n. 1
0
 public static Task AddColumnIfNotExistsAsync(this sqlite3 db, string table, string column, string type)
 => Task.Run(() => AddColumnIfNotExists(db, table, column, type));
Esempio n. 2
0
 public static Error sqlite3_close(sqlite3 db)
 {
     GC.SuppressFinalize(db);
     return((Error)provider.sqlite3_close(db.Handle));
 }
Esempio n. 3
0
 public static Task CreateIndexIfNotExistsAsync(this sqlite3 db, string table, string column)
 => Task.Run(() => CreateIndexIfNotExists(db, table, column));
Esempio n. 4
0
 public static Task <bool> TableColumnExistsAsync(this sqlite3 db, string table, string column)
 => Task.Run(() => TableColumnExistsAsync(db, table, column));
Esempio n. 5
0
 public static Task ExecuteAsync(this sqlite3 db, Query query)
 => Task.Run(() => Execute(db, query));
Esempio n. 6
0
 public static Task <RowData> QuerySingleAsync(this sqlite3 db, Query query)
 => Task.Run(() => QuerySingle(db, query));
Esempio n. 7
0
 public static Task QueryReaderAsync(this sqlite3 db, Query query, Action <RowData> onRow)
 => Task.Run(() => QueryReader(db, query, onRow));