Db2Bootstrap

A class that is being used to initialize the necessary settings for the DB2Connection object.

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.