If you directly display your EDMX file using the default Entity Framework provider for data services, complete the following steps:
public class MyService: DataService<MyEntities> {
Then, unfortunately, you cannot disclose any โnewโ properties that are not in the EDM Entity Framework base model.
Having said that you have other options, you can write a reflection provider or a custom provider that will add an extra property and delegate most of the work of EF under the hood.
The problem is setting up the entire delegation is not easy today.
This series of messages explains the providers and shows how to create a custom service based on the provider, and this one shows how to create a service using the Reflection provider.
Alex james
source share