| DatabaseConnection Class |
Namespace: SQLitePCL.pretty.Orm
The DatabaseConnection type exposes the following members.
| Name | Description | |
|---|---|---|
| DeleteAllT |
Deleted all object instances specified by their primary keys.
| |
| DeleteAllRowsT |
Deletes all rows in a given table.
| |
| DropTableIfExistsT |
Drops the table if it exists. Otherwise this is a no-op.
| |
| FindAllT |
Finds all object instances specified by their primary keys.
| |
| InitTableT |
Creates or migrate a table in the database for the given table mapping, creating indexes if needed.
| |
| InsertOrReplaceT |
Inserts an object into the database, replacing the existing entry if the primary key already exists.
| |
| InsertOrReplaceAllT |
Inserts the objects into the database, replacing existing entries if the given primary keys already exist.
| |
| PrepareDeleteStatementT |
Prepares a SQLite statement that can be bound to an object primary key to delete row from the database.
| |
| PrepareFindStatementT |
Prepares a SQLite statement that can be bound to an object primary key to retrieve an instance from the database.
| |
| PrepareInsertOrReplaceStatementT |
Prepares a SQLite statement that can be bound to an object of type T to insert into the database.
| |
| PrepareStatement |
Compiles a SQL query.
| |
| Query(IDatabaseConnection, ISqlQuery) |
Compiles a SQL query, returning the an IEnumerableT of rows in the result set.
| |
| Query(IDatabaseConnection, ISqlQuery, Object) |
Compiles a SQL statement with provided bind parameter values,
returning the an IEnumerableT of rows in the result set.
| |
| TryDeleteT |
Tries to delete the object in the database with the provided primary key.
| |
| TryFindT |
Tries to find an object in the database with the provided primary key.
|