17 references to CosmosDatabaseBuilder
Aspire.Microsoft.Azure.Cosmos (15)
AspireMicrosoftAzureCosmosExtensions.cs (10)
55/// <see cref="CosmosDatabaseBuilder"/> to register the database and then call 56/// <see cref="CosmosDatabaseBuilder.AddKeyedContainer(string)"/> for each container. 119/// <see cref="CosmosDatabaseBuilder"/> to register the database and then call 120/// <see cref="CosmosDatabaseBuilder.AddKeyedContainer(string)"/> for each container. 144/// and returns a <see cref="CosmosDatabaseBuilder"/> to support chaining multiple container registrations against the same database. 152public static CosmosDatabaseBuilder AddAzureCosmosDatabase( 160var cosmosDatabaseBuilder = new CosmosDatabaseBuilder(builder, connectionName, settings, clientOptions); 167/// and returns a <see cref="CosmosDatabaseBuilder"/> to support chaining multiple container registrations against the same database. 175public static CosmosDatabaseBuilder AddKeyedAzureCosmosDatabase( 183var cosmosDatabaseBuilder = new CosmosDatabaseBuilder(builder, name, settings, clientOptions);
CosmosDatabaseBuilder.cs (5)
22internal CosmosDatabaseBuilder AddDatabase() 38internal CosmosDatabaseBuilder AddKeyedDatabase() 55/// Register a <see cref="Container"/> against the database managed with <see cref="CosmosDatabaseBuilder"/> as a 59/// <returns>A <see cref="CosmosDatabaseBuilder"/> that can be used for further chaining.</returns> 60public CosmosDatabaseBuilder AddKeyedContainer(string name)
Aspire.Microsoft.Azure.Cosmos.Tests (2)
AspireMicrosoftAzureCosmosExtensionsTests.cs (2)
418var databaseBuilder = builder.AddAzureCosmosDatabase("cosmos"); 565var databaseBuilder = builder.AddAzureCosmosDatabase("cosmos",