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.

◆ TryGetDatabase()

bool Cqrs.Azure.DocumentDb.ThreadedAzureDocumentDbConnectionCache.TryGetDatabase ( string  key,
out Database  database 
)

Gets the Database.

Parameters
keyThe name of the Database to get.
databaseIf the Database is found, it is returned here; otherwise null is returned. This parameter is passed uninitialized.
Returns
true if the Database is found; otherwise, false.

Implements Cqrs.Azure.DocumentDb.IAzureDocumentDbConnectionCache.