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.

◆ FirstOrDefault< TData >() [1/2]

static TData System.Linq.AzureDocumentDbDataStoreExtensions.FirstOrDefault< TData > ( this AzureDocumentDbDataStore< TData >  source)
static

Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.

Parameters
sourceThe sequence to type as IEnumerable<T>.
Template Parameters
TDataThe type of the elements of source.
Returns
The first element of the sequence.
Type Constraints
TData :AzureDocumentDbEntity