11 writes to TargetResourceType
System.Data.Services (11)
System\Data\Services\RequestDescription.cs (1)
418
segmentInfo.
TargetResourceType
= container != null ? container.ResourceType : null;
System\Data\Services\RequestUriProcessor.cs (8)
508
segment.
TargetResourceType
= segment.Operation.ResultType;
512
segment.
TargetResourceType
= null;
550
segment.
TargetResourceType
= segment.Operation.ResultType;
603
segment.
TargetResourceType
= container.ResourceType;
792
segment.
TargetResourceType
= previous.TargetResourceType;
800
segment.
TargetResourceType
= previous.TargetResourceType;
836
segment.
TargetResourceType
= null;
848
segment.
TargetResourceType
= segment.ProjectedProperty.ResourceType;
System\Data\Services\Serializers\Deserializer.cs (2)
714
adjustedSegment.
TargetResourceType
= segmentInfo.TargetResourceType;
863
result.
TargetResourceType
= property.ResourceType;
19 references to TargetResourceType
System.Data.Services (19)
System\Data\Services\DataService.cs (1)
1545
resource = WebUtil.GetPropertyValue(dataService.Provider, resource, parentSegment.
TargetResourceType
, currentSegment.ProjectedProperty, null);
System\Data\Services\RequestDescription.cs (1)
253
get { return this.LastSegmentInfo.
TargetResourceType
; }
System\Data\Services\RequestQueryProcessor.cs (3)
925
ParameterExpression p = Expression.Parameter(this.description.LastSegmentInfo.
TargetResourceType
.InstanceType, "it");
930
this.description.LastSegmentInfo.
TargetResourceType
,
1384
this.description.LastSegmentInfo.
TargetResourceType
,
System\Data\Services\RequestUriProcessor.cs (11)
440
ResourceType resourceType = segment.
TargetResourceType
;
551
segment.TargetKind = TargetKindFromType(segment.
TargetResourceType
);
564
segment.TargetKind = TargetKindFromType(segment.
TargetResourceType
);
760
if (previous.
TargetResourceType
== null)
768
Debug.Assert(previous.
TargetResourceType
!= null, "Previous wasn't open, so it should have a resource type");
769
segment.ProjectedProperty = previous.
TargetResourceType
.TryResolvePropertyName(identifier);
792
segment.TargetResourceType = previous.
TargetResourceType
;
800
segment.TargetResourceType = previous.
TargetResourceType
;
822
if (previous.
TargetResourceType
!= null)
824
WebUtil.CheckResourceExists(previous.
TargetResourceType
.IsOpenType, segment.Identifier);
885
segment.TargetContainer = service.Provider.GetContainer(previous.TargetContainer, previous.
TargetResourceType
, segment.ProjectedProperty);
System\Data\Services\Serializers\Deserializer.cs (1)
714
adjustedSegment.TargetResourceType = segmentInfo.
TargetResourceType
;
System\Data\Services\Serializers\JsonDeserializer.cs (1)
377
targetResourceType = segmentInfo.
TargetResourceType
;
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
356
ResourceType currentResourceType = this.GetResourceType(item, segmentInfo.
TargetResourceType
);