2 writes to ConnectionString
Aspire.Npgsql (1)
AspirePostgreSqlNpgsqlExtensions.cs (1)
67settings.ConnectionString = connectionString;
Aspire.Npgsql.Tests (1)
AspirePostgreSqlNpgsqlExtensionsTests.cs (1)
53static 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> 107builder.Services.AddNpgsqlDataSource(settings.ConnectionString ?? string.Empty, dataSourceBuilder => 110ConnectionStringValidation.ValidateConnectionString(settings.ConnectionString, connectionName, DefaultConfigSectionName);
Aspire.Npgsql.Tests (1)
ConfigurationTests.cs (1)
12=> Assert.Null(new NpgsqlSettings().ConnectionString);