35 references to OpenProperty
System.Data.Services (35)
System\Data\Services\DataService.cs (3)
1229
else if (description.TargetKind == RequestTargetKind.
OpenProperty
)
1421
description.TargetKind == RequestTargetKind.
OpenProperty
||
1528
if (currentSegment.TargetKind == RequestTargetKind.
OpenProperty
)
System\Data\Services\RequestDescription.cs (1)
393
if (segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
&&
System\Data\Services\RequestQueryProcessor.cs (1)
106
description.TargetKind == RequestTargetKind.
OpenProperty
||
System\Data\Services\RequestUriProcessor.cs (7)
110
targetKind == RequestTargetKind.
OpenProperty
||
733
previous.TargetKind == RequestTargetKind.
OpenProperty
||
762
Debug.Assert(previous.TargetKind == RequestTargetKind.
OpenProperty
, "For open properties, the target resource type must be null");
767
Debug.Assert(previous.TargetKind != RequestTargetKind.
OpenProperty
, "Since the query element type is known, this can't be open property");
796
(previous.TargetKind == RequestTargetKind.
OpenProperty
|| (previous.TargetKind == RequestTargetKind.Resource)))
802
if (previous.TargetKind == RequestTargetKind.
OpenProperty
)
837
segment.TargetKind = RequestTargetKind.
OpenProperty
;
System\Data\Services\ResponseBodyWriter.cs (1)
178
this.requestDescription.TargetKind == RequestTargetKind.
OpenProperty
||
System\Data\Services\Serializers\Deserializer.cs (5)
478
description.TargetKind == RequestTargetKind.
OpenProperty
||
506
if (description.TargetKind == RequestTargetKind.
OpenProperty
||
543
segmentInfo.TargetKind != RequestTargetKind.
OpenProperty
&&
856
result.TargetKind = RequestTargetKind.
OpenProperty
;
1094
if (requestDescription.TargetKind == RequestTargetKind.
OpenProperty
)
System\Data\Services\Serializers\JsonDeserializer.cs (7)
269
segment.TargetKind == RequestTargetKind.
OpenProperty
||
278
else if (segment.TargetKind != RequestTargetKind.
OpenProperty
)
345
(segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
&& WebUtil.IsPrimitiveType(nonEntityResource.GetType())))
355
(segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
&& WebUtil.IsPrimitiveType(jsonObject.GetType())) ||
375
if (segmentInfo.TargetKind != RequestTargetKind.
OpenProperty
)
396
if ((uri != null || resourceType.ResourceTypeKind == ResourceTypeKind.EntityType) && segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
)
491
Debug.Assert(segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
, "segmentInfo.TargetKind == RequestTargetKind.OpenProperty");
System\Data\Services\Serializers\PlainXmlDeserializer.cs (2)
142
segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
||
158
if (segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
)
System\Data\Services\Serializers\PlainXmlSerializer.cs (2)
135
element != null || this.RequestDescription.TargetResourceType != null || this.RequestDescription.TargetKind == RequestTargetKind.
OpenProperty
,
145
if (this.RequestDescription.TargetKind == RequestTargetKind.
OpenProperty
)
System\Data\Services\Serializers\SyndicationDeserializer.cs (3)
367
if (segmentInfo.TargetKind == RequestTargetKind.
OpenProperty
)
644
Debug.Assert(propertySegment.TargetKind != RequestTargetKind.
OpenProperty
, "Open navigation properties are not supported on OpenTypes.");
660
Debug.Assert(propertySegment.TargetKind != RequestTargetKind.
OpenProperty
, "Open navigation properties are not supported on OpenTypes.");
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
186
if (this.RequestDescription.TargetKind == RequestTargetKind.
OpenProperty
)
232
if (this.RequestDescription.TargetKind != RequestTargetKind.
OpenProperty
&&
System\Data\Services\WebUtil.cs (1)
476
description.TargetKind != RequestTargetKind.
OpenProperty
&&