CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ SetDatabase()

void Cqrs.Azure.DocumentDb.IAzureDocumentDbConnectionCache.SetDatabase ( string  key,
Database  database 
)

Sets the provided database .

Parameters
keyThe name of the Database to get.
databaseThe Database to set.

Implemented in Cqrs.Azure.DocumentDb.ThreadedAzureDocumentDbConnectionCache, and Cqrs.Azure.DocumentDb.GlobalAzureDocumentDbConnectionCache.