![]() |
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.
|
A helper for Azure Document DB. More...
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... | |
T | 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... | |
A helper for Azure Document DB.