CosmosDatabaseBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a builder that can be used to register multiple container instances against the same Cosmos database connection.
public sealed class CosmosDatabaseBuilder
type CosmosDatabaseBuilder = class
Public NotInheritable Class CosmosDatabaseBuilder
- Inheritance
-
CosmosDatabaseBuilder
Constructors
CosmosDatabaseBuilder(IHostApplicationBuilder, String, MicrosoftAzureCosmosSettings, CosmosClientOptions) |
Represents a builder that can be used to register multiple container instances against the same Cosmos database connection. |
Methods
AddKeyedContainer(String) |
Register a Container against the database managed with CosmosDatabaseBuilder as a keyed singleton. |