2 writes to ConnectionString
Aspire.Npgsql (1)
AspirePostgreSqlNpgsqlExtensions.cs (1)
67
settings.
ConnectionString
= connectionString;
Aspire.Npgsql.Tests (1)
AspirePostgreSqlNpgsqlExtensionsTests.cs (1)
53
static void SetConnectionString(NpgsqlSettings settings) => settings.
ConnectionString
= ConnectionString;
5 references to ConnectionString
Aspire.Npgsql (4)
AspirePostgreSqlNpgsqlExtensions.cs (4)
31
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="NpgsqlSettings.
ConnectionString
"/> is not provided.</exception>
46
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="NpgsqlSettings.
ConnectionString
"/> is not provided.</exception>
107
builder.Services.AddNpgsqlDataSource(settings.
ConnectionString
?? string.Empty, dataSourceBuilder =>
110
ConnectionStringValidation.ValidateConnectionString(settings.
ConnectionString
, connectionName, DefaultConfigSectionName);
Aspire.Npgsql.Tests (1)
ConfigurationTests.cs (1)
12
=> Assert.Null(new NpgsqlSettings().
ConnectionString
);