Db2Bootstrap
This class initializes the necessary dependencies for the DB2Connection object — the DbSetting, DbHelper and StatementBuilder — and registers them via their respective mappers.
Properties
| Name | Description |
|---|---|
| IsInitialized | Returns true once the initialization has completed. |
Usability
Call Db2GlobalConfiguration.UseDb2() during application start-up; it triggers this class internally.
GlobalConfiguration
.Setup()
.UseDb2();
Initialization is a one-time, idempotent operation — calling
UseDb2()more than once has no additional effect.