How do you define a WCF Data Service query to grab the first 10 records. Options are something like:
A.
DataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption(“$top”, “10”);
B.
DataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption(“$filter”, “10”);
C.
DataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption(“$select”, “10”);
D.
DataServiceQuery<Order> selectedOrders = context.Orders.AddQueryOption(“$expand”, “10”);
Explanation:
Accessing Data Service Resources (WCF Data Services)
(http://msdn.microsoft.com/en-us/library/dd728283.aspx)DataServiceQuery<TElement>.AddQueryOption Method
(http://msdn.microsoft.com/en-us/library/cc646860.aspx)