Allow me to add annotations to my OData model (Range, Display Member, etc) and have those be picked up by the client code generator. The annotations should be exposed by the service's metadata endpoint for any client to consume if needed.
This feature has been gaining support over time, but is now supported in $metadata and entry/feed payloads in both ATOM and JSON formats.
Did u get any oData service (public aviable) which contains annotations (Range, Display Member, etc) and have those be picked up by the client code generator. The annotations should be exposed by the service's metadata endpoint for any client to consume if needed.
I dont found any service which contains above features.I saw below urls for OData V3 as demo services
These service metadata also does not contain any properties/tags related to odata v3 vocabularies,annotations .
Please prvoide me any service if you know.
i have same requirement.
Also, please add annotation support for a way to exclude custom properties that get added to data objects on the client side via a partial class from being serialized - as the current work around of overriding DataServiceContext.WritingEntity is a maintenance nightmare.
As part of this, also please make the POCO code generator go ahead and implement IDataErrorInfo so when we bind to the objects on the client side all our hard work of defining annotations will automatically show up and be ready to put to work! Also, shouldn't this item be combined with http://data.uservoice.com/forums/72027-wcf-data-services-feature-suggestions/suggestions/1012623-better-validation-support?ref=title as they are closely related - and hey that would push it up to number one!
Stef Stachow commented
The ability to represent identity/computed columns in the $metadata is pretty crucial. I'm disappointed to have spent so much time using the Alex James tutorials building an un-typed customer WCF Data Service Provider being unaware of this limitation.