ClickHouseGlobalConfiguration

A class that is being used to initialize the necessary settings for the ClickHouse data provider.

This class exposes the UseClickHouse() extension method of GlobalConfiguration, which wires up all the necessary dependencies for ClickHouse (via ClickHouseBootstrap).

Usability

GlobalConfiguration
    .Setup()
    .UseClickHouse();

An overload accepts a custom IDbSetting, e.g. ClickHouseBulkDbSetting in place of the default ClickHouseDbSetting.

GlobalConfiguration
    .Setup()
    .UseClickHouse(new ClickHouseBulkDbSetting { IsWaitForMutationsEnabled = true });

Call this once during application start-up, before opening any ClickHouseConnection.