Consider we have a WCF Data Service as MyService.It has an entity say Employee that has 4 properties namely age, name, salary and gender. You need to form a WCF Data Service query that will fetch the top 3 records from the Employee entity sorted by salary.

 Posted by Rajnilari2015 on 9/25/2015 | Category: WCF Interview questions | Views: 5738 | Points: 40
Select from following answers:
  1. http://<uri>/MyService.svc/Employees?$orderby=salary&$top=3
  2. http://<uri>/MyService.svc/Employees?$orderby=salary,$top=3
  3. http://<uri>/MyService.svc/Employees?$orderby=>salary&$top=>3
  4. http://<uri>/MyService.svc/Employees?$orderby=>salary,$top=>3
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response