Link Search Menu Expand Document

VerticaBootstrap


This class initializes the necessary dependencies for the VerticaConnection object — the DbSetting, DbHelper and StatementBuilder — and registers them via their respective mappers.

Properties

NameDescription
IsInitializedReturns 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.CurrentCulture to CultureInfo.InvariantCulture for the calling thread, and for every subsequently-created thread in the process, working around Vertica.Data formatting date-like parameter values using the ambient thread culture instead of the invariant one.