I'm checking out WCF Data Services and OData for the first time and I'm wondering if it's bad practice to use inheritance in the entity model? It doesn't seem to be very well supported.
For instance I'm getting issues with OData where I'd like to filter on a derived type's property. But it seems only possible to filter on base type properties?
This fails: http://[localhost]:8080/Entities?$filter=startswith(Text,'bla')
In any case, is it better to create non-derived entity types and have interface's to "harmonize" properties in different entity types?
For instance:
EntityBase -> Id, ParentId
Notebook : EntityBase -> Title
Note : EntityBase -> Text
or
IEntity -> Id, ParentId
Notebook : IEntity -> Id, ParentId, Title
Note : IEntity -> Id, ParentId, Text
And why is still not the $format-tag supported in 5.1.0-rc1?