Link Search Menu Expand Document

OracleBootstrap


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

It also forces OracleConfiguration.BindByName = true, since RepoDB’s generated statements always bind parameters by name rather than position.

Properties

NameDescription
IsInitializedReturns true once the initialization has completed.

Usability

Call OracleGlobalConfiguration.UseOracle() during application start-up; it triggers this class internally.

GlobalConfiguration
    .Setup()
    .UseOracle();

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