![]() |
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.
|
Provides a set of static (Shared in Visual Basic) methods for querying objects that inherit AzureDocumentDbDataStore<TData>. More...
Static Public Member Functions | |
static TData | Single< TData > (this AzureDocumentDbDataStore< TData > source) |
Returns the only element of the sequence, and throws an exception if there is not exactly one element in the sequence. More... | |
static TData | Single< TData > (this AzureDocumentDbDataStore< TData > source, Func< TData, bool > predicate) |
Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. More... | |
static TData | SingleOrDefault< TData > (this AzureDocumentDbDataStore< TData > source) |
Returns the only element of the sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. More... | |
static TData | SingleOrDefault< TData > (this AzureDocumentDbDataStore< TData > source, Func< TData, bool > predicate) |
Returns the only element of the sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. More... | |
static TData | First< TData > (this AzureDocumentDbDataStore< TData > source) |
Returns the first element of the sequence. More... | |
static TData | First< TData > (this AzureDocumentDbDataStore< TData > source, Func< TData, bool > predicate) |
Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. More... | |
static TData | FirstOrDefault< TData > (this AzureDocumentDbDataStore< TData > source) |
Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. More... | |
static TData | FirstOrDefault< TData > (this AzureDocumentDbDataStore< TData > source, Func< TData, bool > predicate) |
Returns the first element of a sequence, or a default value if the sequence contains no elements. More... | |
Provides a set of static (Shared in Visual Basic) methods for querying objects that inherit AzureDocumentDbDataStore<TData>.