2 writes to ConnectionString
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
AspireEFMySqlExtensions.cs (1)
66
settings.
ConnectionString
= connectionString;
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
AspireEFMySqlExtensionsTests.cs (1)
60
builder.AddMySqlDbContext<TestDbContext>("mysql", settings => settings.
ConnectionString
= ConnectionString);
5 references to ConnectionString
Aspire.Pomelo.EntityFrameworkCore.MySql (4)
AspireEFMySqlExtensions.cs (4)
48
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="PomeloEntityFrameworkCoreMySqlSettings.
ConnectionString
"/> is not provided.</exception>
99
var connectionString = settings.
ConnectionString
?? string.Empty;
104
ConnectionStringValidation.ValidateConnectionString(settings.
ConnectionString
, connectionName, DefaultConfigSectionName, $"{DefaultConfigSectionName}:{typeof(TContext).Name}", isEfDesignTime: EF.IsDesignTime);
118
ConnectionStringValidation.ValidateConnectionString(settings.
ConnectionString
, connectionName, DefaultConfigSectionName, $"{DefaultConfigSectionName}:{typeof(TContext).Name}", isEfDesignTime: EF.IsDesignTime);
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
ConfigurationTests.cs (1)
12
=> Assert.Null(new PomeloEntityFrameworkCoreMySqlSettings().
ConnectionString
);