- Which of the following methods is an asynchronous method declared in the
Microsoft.Azure.Documents.Linq
namespace that allows us to execute a query with an aggregate function to compute the total number of elements:AsCountQuery
Count
CountAsync
- Which of the following attributes specify Json.Net that we want to serialize an enum to its string representation:
[JsonConverter(typeof(StringEnumConverter))]
[JsonConverter(typeof(String))]
[JsonConverter(typeof(EnumToString))]
- Which of the following methods executes a query to a Cosmos DB document collection with an asynchronous execution and returns a result set based on the
MaxItemCount
value specified in theFeedOptions
instance:ExecuteNextAsync
AsDocumentQuery
QueryAsync
- Which of the following attributes specify Json.Net that we want to map a property to the
prize
key in the JSON document:[JsonProperty(Name = "prize")]
[JsonProperty(PropertyName = "prize")]
[JsonProperty(KeyName = "prize")]
- Which of the following methods reads a...