29 references to Resource
System.Data.Services (29)
System\Data\Services\DataService.cs (5)
965
bool entityTarget = targetKind == RequestTargetKind.
Resource
;
1153
else if (description.IsSingleResult && description.TargetKind == RequestTargetKind.
Resource
)
1365
if (resource == null && description.TargetKind == RequestTargetKind.
Resource
)
1472
targetKind = RequestTargetKind.
Resource
;
2502
description.TargetKind == RequestTargetKind.
Resource
|| description.TargetSource == RequestTargetSource.ServiceOperation,
System\Data\Services\RequestDescription.cs (2)
543
if (this.TargetKind == RequestTargetKind.
Resource
)
574
if (this.segmentInfos[j].TargetKind == RequestTargetKind.
Resource
|| this.segmentInfos[j].HasKeyValues)
System\Data\Services\RequestQueryProcessor.cs (3)
105
description.TargetKind == RequestTargetKind.
Resource
||
110
this.setQueryApplicable = (description.TargetKind == RequestTargetKind.
Resource
&& !description.IsSingleResult) ||
119
this.pagingApplicable = (description.TargetKind == RequestTargetKind.
Resource
&& !description.IsSingleResult) &&
System\Data\Services\RequestUriProcessor.cs (9)
114
targetKind == RequestTargetKind.
Resource
||
387
if (description.TargetKind != RequestTargetKind.
Resource
|| !description.IsSingleResult || description.TargetSource != RequestTargetSource.EntitySet)
605
segment.TargetKind = RequestTargetKind.
Resource
;
720
else if (previous.TargetKind == RequestTargetKind.
Resource
&&
732
previous.TargetKind == RequestTargetKind.
Resource
||
774
if (previous.TargetKind != RequestTargetKind.
Resource
)
796
(previous.TargetKind == RequestTargetKind.OpenProperty || (previous.TargetKind == RequestTargetKind.
Resource
)))
884
segment.TargetKind = RequestTargetKind.
Resource
;
1268
return RequestTargetKind.
Resource
;
System\Data\Services\ResponseBodyWriter.cs (1)
179
this.requestDescription.TargetKind == RequestTargetKind.
Resource
,
System\Data\Services\Serializers\Deserializer.cs (3)
426
if (description.SegmentInfos[j].TargetKind == RequestTargetKind.
Resource
||
695
if (requestDescription.TargetKind == RequestTargetKind.
Resource
)
860
result.TargetKind = RequestTargetKind.
Resource
;
System\Data\Services\Serializers\JsonDeserializer.cs (2)
473
if (segmentInfo.TargetKind == RequestTargetKind.
Resource
)
793
segmentInfo.TargetKind = RequestTargetKind.
Resource
;
System\Data\Services\Serializers\SyndicationDeserializer.cs (3)
374
Debug.Assert(segmentInfo.TargetKind == RequestTargetKind.
Resource
, "segmentInfo.TargetKind == RequestTargetKind.Resource");
406
if (segmentInfo.TargetKind == RequestTargetKind.
Resource
)
677
propertySegment.TargetKind == RequestTargetKind.
Resource
&&
System\Data\Services\WebUtil.cs (1)
463
else if (description.TargetKind == RequestTargetKind.
Resource
||