nerdexam
Microsoft

70-516 · Question #104

How do you define a WCF Data Service query to grab the first 10 records. Options are something like:

Sign in or unlock 70-516 to reveal the answer and full explanation for question #104. The question stem and answer options stay visible for context.

Querying Data

Question

How do you define a WCF Data Service query to grab the first 10 records. Options are something like:

Options

  • ADataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption("$top", "10");
  • BDataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption("$filter", "10");
  • CDataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption("$select",
  • DDataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption("$expand",

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#WCF Data Services#OData#$top query option#DataServiceQuery
Full 70-516 Practice