I'm implementing several custom Data Service Providers in WCF Data Services:
To illustrate the point of my question consider this made-up example:
I have a resource called "Employee," which can be addressed in the following ways:
MyDataService.svc/Employees(1)
or
MyDataService.svc/Employees?$filter=FirstName eq 'John'
The results that are returned automatically include URLs for each resource, like:
http://localhost:1337/MyDataService.svc/Employees(5)
, and so on.
Is it possible to, instead, have Data Services return People(5)
instead of Employees(5)
?
In short, I need some control over URLs that Data Services generates. Is that possible?