2 writes to ConnectionString
Aspire.MySqlConnector (1)
AspireMySqlConnectorExtensions.cs (1)
66
settings.
ConnectionString
= connectionString;
Aspire.MySqlConnector.Tests (1)
AspireMySqlConnectorExtensionsTests.cs (1)
61
void SetConnectionString(MySqlConnectorSettings settings) => settings.
ConnectionString
= ConnectionString;
6 references to ConnectionString
Aspire.MySqlConnector (5)
AspireMySqlConnectorExtensions.cs (5)
31
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="MySqlConnectorSettings.
ConnectionString
"/> is not provided.</exception>
45
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="MySqlConnectorSettings.
ConnectionString
"/> is not provided.</exception>
111
builder.Services.AddMySqlDataSource(settings.
ConnectionString
?? string.Empty, dataSourceBuilder =>
118
builder.Services.AddKeyedMySqlDataSource(serviceKey, settings.
ConnectionString
?? string.Empty, dataSourceBuilder =>
127
ConnectionStringValidation.ValidateConnectionString(settings.
ConnectionString
, connectionName, DefaultConfigSectionName);
Aspire.MySqlConnector.Tests (1)
ConfigurationTests.cs (1)
12
=> Assert.Null(new MySqlConnectorSettings().
ConnectionString
);