netcore abstractions and helpers for Clickhouse.Ado
PM> Install-Package ClickHouse.Net
> dotnet add package ClickHouse.Net --version 0.2.0
In your Startup.cs
add to ConfigureServices
:
services.AddClickHouse();
and define how to resolve ClickHouseConnectionSettings
:
services.AddTransient(p => new ClickHouseConnectionSettings(connectionString));
Then add IClickHouseDatabase
as dependency in any of your classes.