SapHanaBootstrap

A class that is being used to initialize the necessary settings for the HanaConnection object.

This class initializes the necessary dependencies for the HanaConnection object — the DbSetting, DbHelper and StatementBuilder — and registers them via their respective mappers. The DbSetting registered defaults to a plain SapHanaDbSetting, or whichever IDbSetting instance is passed to UseSapHana().

Properties

Name Description
IsInitialized Returns true once the initialization has completed.

Usability

Call SapHanaConfiguration.UseSapHana() during application start-up; it triggers this class internally.

GlobalConfiguration
    .Setup()
    .UseSapHana();

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