SqliteBootstrap
This class initializes the necessary dependencies for the Microsoft.Data.Sqlite SqliteConnection object — the DbSetting, DbHelper and StatementBuilder — and registers them via their respective mappers.
It wires up MdsSqLiteDbTypeNameToClientTypeResolver as the type resolver, since this package targets Microsoft.Data.Sqlite (the “Mds” driver).
The static
Initialize()method is obsolete. Use SqliteGlobalConfiguration.UseSqlite() instead.
Properties
| Name | Description |
|---|---|
| IsInitialized | Returns true once the initialization has completed. |
Usability
Call SqliteGlobalConfiguration.UseSqlite() during application start-up; it triggers this class internally.
GlobalConfiguration
.Setup()
.UseSqlite();
Initialization is a one-time, idempotent operation — calling
UseSqlite()more than once has no additional effect.