2 writes to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
AspireSqlServerEFCoreSqlClientExtensions.cs (1)
54
settings.
ConnectionString
= connectionString;
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (1)
AspireSqlServerEFCoreSqlClientExtensionsTests.cs (1)
44
builder.AddSqlServerDbContext<TestDbContext>("sqlconnection", settings => settings.
ConnectionString
= ConnectionString);
3 references to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.SqlServer (3)
AspireSqlServerEFCoreSqlClientExtensions.cs (3)
36
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="MicrosoftEntityFrameworkCoreSqlServerSettings.
ConnectionString
"/> is not provided.</exception>
67
dbContextOptionsBuilder.UseSqlServer(settings.
ConnectionString
, builder =>
69
ConnectionStringValidation.ValidateConnectionString(settings.
ConnectionString
, connectionName, DefaultConfigSectionName, $"{DefaultConfigSectionName}:{typeof(TContext).Name}", isEfDesignTime: EF.IsDesignTime);