2 writes to ConnectionString
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (1)
AspireEFPostgreSqlExtensions.cs (1)
62
settings.
ConnectionString
= connectionString;
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
AspireEFPostgreSqlExtensionsTests.cs (1)
53
settings => settings.
ConnectionString
= ConnectionString,
4 references to ConnectionString
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (3)
AspireEFPostgreSqlExtensions.cs (3)
44
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="NpgsqlEntityFrameworkCorePostgreSQLSettings.
ConnectionString
"/> is not provided.</exception>
74
ConnectionStringValidation.ValidateConnectionString(settings.
ConnectionString
, connectionName, DefaultConfigSectionName, $"{DefaultConfigSectionName}:{typeof(TContext).Name}", isEfDesignTime: EF.IsDesignTime);
77
dbContextOptionsBuilder.UseNpgsql(settings.
ConnectionString
, builder =>
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
ConfigurationTests.cs (1)
12
=> Assert.Null(new NpgsqlEntityFrameworkCorePostgreSQLSettings().
ConnectionString
);