We need a support for Azure Cosmos DB with .NET Mongo DB driver.
Ours is a multi-tenancy architecture, so we are going with sharded collections - hence there is a need to have the below properties in all the data models.
1) Type - Type of the document - Here we are trying to combine multiple types of document into a single collection as CosmosDB has a limitation on the number of collections.
PK (Partition Key) - TenantID + Type - Used for the logical separation of the data. TenantID will be passed from the application.
Team,
We need a support for Azure Cosmos DB with .NET Mongo DB driver. Ours is a multi-tenancy architecture, so we are going with sharded collections - hence there is a need to have the below properties in all the data models.
1) Type - Type of the document - Here we are trying to combine multiple types of document into a single collection as CosmosDB has a limitation on the number of collections.
Thanks, Raj.