public DefaultContext(IInfluxDBConfigurationProvider configurationProvider)
    {
        _configurationProvider = configurationProvider;

        var connectionString = configurationProvider.GetConnectionString(this.GetType().Name)
                               ?? throw new MissingConnectionStringException($"Unable to find connection string: {this.GetType().Name}");

        WriteApi = InfluxDBClientFactory.Create(connectionString).GetWriteApiAsync();
    }
 public TestInfluxDBContext(IInfluxDBConfigurationProvider configurationProvider) : base(configurationProvider)
 {
 }