![]() |
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.
|
Task<DocumentCollection> Cqrs.Azure.DocumentDb.IAzureDocumentDbHelper.CreateOrReadCollection | ( | DocumentClient | client, |
Database | database, | ||
string | collectionName, | ||
string[] | uniqiueIndexPropertyNames = null |
||
) |
Gets a DocumentCollection creating one if it doesn't already exist.
client | The DocumentClient to use. |
database | The Database to look in. |
collectionName | The name of the collection to get. |
uniqiueIndexPropertyNames | Any unique properties the collection should enforce. |
Implemented in Cqrs.Azure.DocumentDb.AzureDocumentDbHelper.