Home > Interviews > ADO.NET >

The URI to your WCF data service is http://www.northwind.com/DataServices.svc.
What can you add to the end of the URI to retrieve only a list of Order entities for the Customer entity whose CustomerID is 'BONAP'?

 Posted by Rajkatie on 8/16/2012 | Category: ADO.NET Interview questions | Views: 4008 | Points: 40
Select from following answers:
  1. /Customers('BONAP')/Orders
  2. /Customers('BONAP')?$expand=Orders
  3. /Customers?$filter=CustomerID eq 'BONAP'&$expand=Orders
  4. /Customers/Orders?$filter=CustomerID eq 'BONAP'
  5. All Above

Show Correct Answer

Source: MeasureUp.com | | Alert Moderator 

Comments or Responses

Login to post response