Select from following answers:- Modify the Contacts entity set in the EDMX file.
- Add a stored procedure to SQL Server and modify the EDMX file to create a function import that you can call.
- Add a lazy loader to the WCF data service that will filter out the employees.
- Add a method to your WCF data service class and adorn the method with a QueryInterceptorAttribute of Contacts. In the method, provide the filter.
- All Above
QueryInterceptorAttribute can provide filtering when a request is made for the Contacts entity set.
If you modify the Contacts entity set in the EDMX file, you potentially break the services that are in the same project.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator