2.1.9.6 [OData4.0-1Protocol] Section 10.11 Collection of Entity References The [OData4.0-1Protocol] specification states the following: Context URL template: {context-url}#Collection($ref) If a response is a collection of entity references, the context URL does not contain the type of the ...
A data service MAY<6> support some or all of the system query options defined in this document. If a data service does not support a system query option, it MUST reject any requests which contain the unsupported option, as seen in Message Processing Events and Sequencing Rules (section 3.2...
https://localhost:10001/TimeSeriesData.svc/Subscriptions(25)/?$expand=Samples In this case, Sample entities associated with the Subscription entity contain sampled values for many Item entities, possibly one or more sample for each item associated with the subscription. As long as I’m using LI...
The little sample library that I used to make this work (which I built with Phani Raj, a software engineer at Microsoft on the WCF Data Services team), does the barest minimum and it’s never going to be all you need to build a real blog. Here’s a...
dataPath = request.ODataProperties().PathHandler.Parse( request.ODataProperties().Model, serviceRoot, uri.LocalPath); var keySegment = odataPath.Segments.OfType<KeyValuePathSegment>().FirstOrDefault(); if (keySegment == null) { throw new InvalidOperationException("The...
consists of a set of links that contain both the link to be used when editing the entity and the entity’s relationships. Each relationship link points either to another entity or to a set of entities (these are called reference and navigation properties, respectively). Each <entry> element ...
If specified, the request MUST only be invoked if the specified value does not match the current ETag value of the entity. If the value does match the current ETag value of the entity for a Data Modification or Action request, the service MUST respond with ‘412 Precondition Failed’ and ...
It is important to note that returning false from the delegate does not guarantee that the annotation will not be written. For example, if an annotation was included in the preference header annotations filter, it may still be written even when the delegate returns false. Copy writerSettings.Sho...
If specified, the request MUST only be invoked if the specified value does not match the current ETag value of the entity. If the value does match the current ETag value of the entity for a Data Modification or Action request, the service MUST respond with ‘412 Precondition Failed’ and ...
A query determines which data objects the DataServiceCollection instance will contain. The query can either be composed as a Language Integrated Query (LINQ) query using the DataServiceQuery class, or it can be provided in the form of a uniform resource identifier (URI). For more information ...