CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Azure.DocumentDb.AzureDocumentDbHelper Class Reference
+ Inheritance diagram for Cqrs.Azure.DocumentDb.AzureDocumentDbHelper:

Public Member Functions

 AzureDocumentDbHelper (ILogger logger, IAzureDocumentDbConnectionCache azureDocumentDbConnectionCache)
 
async Task< Database > CreateOrReadDatabase (DocumentClient client, string databaseName)
 
async Task< DocumentCollection > CreateOrReadCollection (DocumentClient client, Database database, string collectionName, string[] uniqiueIndexPropertyNames=null)
 
virtual T ExecuteFaultTollerantFunction< T > (Func< T > func)
 
virtual void ExecuteFaultTollerantFunction (Action func)
 

Protected Member Functions

virtual void ProcessFaultTollerantExceptions (DocumentClientException documentClientException)
 

Properties

ILogger Logger [get]
 
IAzureDocumentDbConnectionCache AzureDocumentDbConnectionCache [get]