Click or drag to resize
IAsyncDatabaseConnection Interface
An interface for scheduling asynchronous access to an IDatabaseConnection in FIFO order.

Namespace: SQLitePCL.pretty
Assembly: SQLitePCL.pretty.Async (in SQLitePCL.pretty.Async.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public interface IAsyncDatabaseConnection : IDisposable

The IAsyncDatabaseConnection type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodDisposeAsync
Shutdown the underlying operations queue used by the IAsyncDatabaseConnection and prevents the queuing of additional database access requests. Requests to access the database prior to the call to DisposeAsync are allowed to complete, after which underlying IDatabaseConnection is disposed.
Public methodUseT
Returns a cold IObservable which schedules the function f on the database operation queue each time it is is subscribed to. The published values are generated by enumerating the IEnumerable returned by f.
Top
Extension Methods
  NameDescription
Public Extension MethodDeleteAllAsyncT(IEnumerableInt64, FuncIReadOnlyListIResultSetValue, T)Overloaded.
Deletes all object instances specified by their primary keys.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodDeleteAllAsyncT(IEnumerableInt64, FuncIReadOnlyListIResultSetValue, T, CancellationToken)Overloaded.
Deletes all object instances specified by their primary keys.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodDeleteAllRowsAsyncTOverloaded.
Deletes all rows in a given table, asynchronously.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodDeleteAllRowsAsyncT(CancellationToken)Overloaded.
Deletes all rows in a given table, asynchronously.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodDropTableIfExistsAsyncTOverloaded.
Drops the table if exists async.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodDropTableIfExistsAsyncT(CancellationToken)Overloaded.
Drops the table if exists async.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodExecuteAllAsync(String)Overloaded.
Compiles and executes multiple SQL statements.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodExecuteAllAsync(String, CancellationToken)Overloaded.
Compiles and executes multiple SQL statements.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodExecuteAsync(String)Overloaded.
Compiles and executes a SQL statement.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodExecuteAsync(String, Object)Overloaded.
Compiles and executes a SQL statement with the provided bind parameter values.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodExecuteAsync(String, CancellationToken)Overloaded.
Compiles and executes a SQL statement.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodExecuteAsync(String, CancellationToken, Object)Overloaded.
Compiles and executes a SQL statement with the provided bind parameter values.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodFindAllAsyncT(IEnumerableInt64, FuncIReadOnlyListIResultSetValue, T)Overloaded.
Finds all object instances specified by their primary keys.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodFindAllAsyncT(IEnumerableInt64, FuncIReadOnlyListIResultSetValue, T, CancellationToken)Overloaded.
Finds all object instances specified by their primary keys.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodInitTableAsyncTOverloaded.
Creates or migrate a table in the database for the given table mapping, creating indexes if needed.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodInitTableAsyncT(CancellationToken)Overloaded.
Creates or migrate a table in the database for the given table mapping, creating indexes if needed.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodInsertOrReplaceAllAsyncT(IEnumerableT, FuncIReadOnlyListIResultSetValue, T)Overloaded.
Inserts the objects into the database, replacing existing entries if the given primary keys already exist.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodInsertOrReplaceAllAsyncT(IEnumerableT, FuncIReadOnlyListIResultSetValue, T, CancellationToken)Overloaded.
Inserts the objects into the database, replacing existing entries if the given primary keys already exist.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodOpenBlobAsync(ColumnInfo, Int64, Boolean)Overloaded.
Opens the blob located by the a database, table, column, and rowid for incremental asynchronous I/O as a Stream.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodOpenBlobAsync(ColumnInfo, Int64, Boolean, CancellationToken)Overloaded.
Opens the blob located by the a database, table, column, and rowid for incremental asynchronous I/O as a Stream.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodOpenBlobAsync(String, String, String, Int64, Boolean)Overloaded.
Opens the blob located by the a database, table, column, and rowid for incremental asynchronous I/O as a Stream.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodOpenBlobAsync(String, String, String, Int64, Boolean, CancellationToken)Overloaded.
Opens the blob located by the a database, table, column, and rowid for incremental asynchronous I/O as a Stream.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodPrepareAllAsync(String)Overloaded.
Compiles one or more SQL statements.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodPrepareAllAsync(String, CancellationToken)Overloaded.
Compiles one or more SQL statements.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodPrepareStatementAsync(String)Overloaded.
Compiles a SQL statement.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodPrepareStatementAsync(String, CancellationToken)Overloaded.
Compiles a SQL statement.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodQuery(String)Overloaded.
Returns a cold observable that compiles a SQL statement that publishes the rows in the result set for each subscription.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodQuery(ISqlQuery)Overloaded.
Returns a cold observable that compiles a SQL query that publishes the rows in the result set for each subscription.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodQuery(String, Object)Overloaded.
Returns a cold observable that compiles a SQL statement with provided bind parameter values, that publishes the rows in the result set for each subscription.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodQuery(ISqlQuery, Object)Overloaded.
Returns a cold observable that compiles a SQL query with provided bind parameter values, that publishes the rows in the result set for each subscription.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodUse(ActionIDatabaseConnection)Overloaded.
Schedules the Actionf on the database operations queue.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodUse(ActionIDatabaseConnection, CancellationToken, CancellationToken)Overloaded.
Schedules the Actionf on the database operations queue.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodUseT(FuncIDatabaseConnection, T)Overloaded.
Schedules the FuncT, TResultf on the database operations queue.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodUseT(FuncIDatabaseConnection, IEnumerableT)Overloaded.
Returns a cold IObservable which schedules the function f on the database operation queue each time it is is subscribed to. The published values are generated by enumerating the IEnumerable returned by f.
(Defined by AsyncDatabaseConnection.)
Public Extension MethodUseT(FuncIDatabaseConnection, CancellationToken, T, CancellationToken)Overloaded.
Schedules the FuncT, TResultf on the database operations queue.
(Defined by AsyncDatabaseConnection.)
Top
Properties
  NameDescription
Public propertyProfile
A hot IObservableT of this connection's SQLite profile events.
Public propertyTrace
A hot IObservableT of this connection's SQLite trace events.
Public propertyUpdate
A hot IObservableT of this connection's SQLite update events.
Top
See Also