CockroachDbBootstrap
A class that is being used to initialize the necessary settings for the CockroachDbConnection object.
This class initializes the necessary dependencies for CockroachDbConnection (RepoDb.Connector.CockroachDb.CockroachDbConnection) — the CockroachDbDbSetting, CockroachDbDbHelper and CockroachDbStatementBuilder — and registers them via their respective mappers.
Properties
| Name | Description |
|---|---|
| IsInitialized | Returns true once the initialization has completed. |
Usability
Call CockroachDbGlobalConfiguration.UseCockroachDb() during application start-up; it triggers this class internally.
GlobalConfiguration
.Setup()
.UseCockroachDb();
Initialization is a one-time, idempotent operation — calling
UseCockroachDb()more than once has no additional effect.