VerticaBootstrap
This class initializes the necessary dependencies for the VerticaConnection 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 VerticaConfiguration.UseVertica() during application start-up; it triggers this class internally.
GlobalConfiguration
.Setup()
.UseVertica();
Initialization is a one-time, idempotent operation — calling
UseVertica()more than once has no additional effect.
Initialization also forces
CultureInfo.CurrentCulturetoCultureInfo.InvariantCulturefor the calling thread, and for every subsequently-created thread in the process, working aroundVertica.Dataformatting date-like parameter values using the ambient thread culture instead of the invariant one.