1 write to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.Cosmos (1)
AspireAzureEFCoreCosmosExtensions.cs (1)
62
settings.
ConnectionString
= connectionString;
5 references to ConnectionString
Aspire.Microsoft.EntityFrameworkCore.Cosmos (5)
AspireAzureEFCoreCosmosExtensions.cs (5)
37
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="EntityFrameworkCoreCosmosSettings.
ConnectionString
"/> is not provided.</exception>
74
if (!string.IsNullOrEmpty(settings.
ConnectionString
))
76
dbContextOptionsBuilder.UseCosmos(settings.
ConnectionString
, databaseName, UseCosmosBody);
87
$"{nameof(settings.
ConnectionString
)} or {nameof(settings.AccountEndpoint)} must be provided " +
103
if (CosmosUtils.IsEmulatorConnectionString(settings.
ConnectionString
))