public void ChangeDatabase(string dbName) { if (!_ownsConnection) { throw new InvalidOperationException( "There is no effect in changing database on connection that is not owned by current instance of `ClickHouseDatabase`."); } _connection.ChangeDatabase(dbName); }