public void Close() { if (Current != null) { _clickHouseConnection.Formatter.ReadResponse(); } if ((_behavior & CommandBehavior.CloseConnection) != 0) { _clickHouseConnection.Close(); } _clickHouseConnection = null; }
public ClickHouseCommand(ClickHouseConnection clickHouseConnection, string text) : this(clickHouseConnection) { CommandText = text; }
public ClickHouseCommand(ClickHouseConnection clickHouseConnection) { Connection = clickHouseConnection; }
internal ClickHouseDataReader(ClickHouseConnection clickHouseConnection, CommandBehavior behavior) { _clickHouseConnection = clickHouseConnection; _behavior = behavior; NextResult(); }