CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Azure.DocumentDb.IAzureDocumentDbHelper Interface Reference

A helper for Azure Document DB. More...

+ Inheritance diagram for Cqrs.Azure.DocumentDb.IAzureDocumentDbHelper:

Public Member Functions

Task< Database > CreateOrReadDatabase (DocumentClient client, string databaseName)
 Gets a Database creating one if it doesn't already exist. More...
 
Task< DocumentCollection > CreateOrReadCollection (DocumentClient client, Database database, string collectionName, string[] uniqiueIndexPropertyNames=null)
 Gets a DocumentCollection creating one if it doesn't already exist. More...
 
ExecuteFaultTollerantFunction< T > (Func< T > func)
 Execute the provided func in a fault tolerant way. More...
 
void ExecuteFaultTollerantFunction (Action func)
 Execute the provided func in a fault tolerant way. More...
 

Detailed Description

A helper for Azure Document DB.