How to create a computed property in Data Services (OData)?
I am creating an OData service with WCF Data Services using an EDMX. How can I create a computed property for an entity type, so that its value gets computed in the service (C#) and does not come from the database? The value of this property is based on the value of other properties, which are mapped to fields in the database. If you are exposing your EDMX file directly, using the default Entity Framework Provider for Data Services, something like this: public class MyService: DataService<MyEntities> { Then unfortunately you can't expose any 'new' properties that aren't in the underlying