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 records from the Employee entity sorted by age and salary.

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

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response