Class MDSQLiteAdapter
public class MDSQLiteAdapter : IDBAdapter, ILockContext, IDBGetUtils, ICloseableAsync
- Inheritance
-
MDSQLiteAdapter
- Implements
- Derived
- Inherited Members
Constructors
Fields
Properties
- Events
The event manager for the adapter.
- Name
The name of the adapter.
Methods
- Close()
Closes the adapter.
- LoadDefaultPowerSyncExtension(SqliteConnection)
Loads the bundled PowerSync core SQLite extension. Override on platform-specific adapters (e.g. MAUI iOS/Android) where the native library lives outside the desktop runtime path.
- ReadLock<T>(Func<ILockContext, Task<T>>, DBLockOptions?)
Executes a read lock with the given function.
- ReadTransaction<T>(Func<ITransaction, Task<T>>, DBLockOptions?)
Executes a read transaction with the given function.
- RefreshSchema()
This method refreshes the schema information across all connections. This is for advanced use cases, and should generally not be needed.
- WriteLock(Func<ILockContext, Task>, DBLockOptions?)
Executes a write lock with the given function.
- WriteLock<T>(Func<ILockContext, Task<T>>, DBLockOptions?)
Executes a write lock with the given function.
- WriteTransaction(Func<ITransaction, Task>, DBLockOptions?)
Executes a write transaction with the given function.
- WriteTransaction<T>(Func<ITransaction, Task<T>>, DBLockOptions?)
Executes a write transaction with the given function.