You are implementing a WCF Data Service to expose data from a database named Northwind.
You create a class named NorthwindDataService that extends DataService. You need to add a service operation to retrieve Order entities for orders shipped to customers in a city given by a parameter.

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 2286 | Points: 40
Select from following answers:
  1. Add the WebGetAttribute to the method.
  2. Implement a custom method named GetOrdersByCity.
  3. Implemented method GetOrdersByCity that has a city parameter and returns an IQueryable<Order>.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response