Link Search Menu Expand Document

EnterpriseDbBootstrap


This class initializes the necessary dependencies for EDBConnection (RepoDb.Connector.EnterpriseDb.EDBConnection) — the DbSetting, DbHelper and StatementBuilder — and registers them via their respective mappers.

Properties

NameDescription
IsInitializedReturns true once the initialization has completed.

Usability

Call EnterpriseDbGlobalConfiguration.UseEnterpriseDb() during application start-up; it triggers this class internally.

GlobalConfiguration
    .Setup()
    .UseEnterpriseDb();

Initialization is a one-time, idempotent operation — calling UseEnterpriseDb() more than once has no additional effect.