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.

◆ CreateOrReadDatabase()

async Task<Database> Cqrs.Azure.DocumentDb.AzureDocumentDbHelper.CreateOrReadDatabase ( DocumentClient  client,
string  databaseName 
)

Gets a Database creating one if it doesn't already exist.

Parameters
clientThe DocumentClient to use.
databaseNameThe name of the database to get.

Implements Cqrs.Azure.DocumentDb.IAzureDocumentDbHelper.