18 references to TargetResourceType
System.Data.Services (18)
System\Data\Services\DataService.cs (2)
884
description.
TargetResourceType
,
1055
ResourceType targetResourceType = description.
TargetResourceType
;
System\Data\Services\RequestQueryProcessor.cs (7)
379
this.description.
TargetResourceType
);
398
ResourceType resourceType = this.description.
TargetResourceType
;
595
Debug.Assert(currentNode.ResourceType == this.description.
TargetResourceType
, "The resource type of the root doesn't match the target type of the query.");
725
if (this.description.
TargetResourceType
== null || (this.description.
TargetResourceType
.ResourceTypeKind != ResourceTypeKind.EntityType))
854
this.query = RequestQueryParser.Where(this.service, this.description.LastSegmentInfo.TargetContainer, this.description.
TargetResourceType
, this.query, filter);
1033
ResourceType rt = this.description.
TargetResourceType
;
System\Data\Services\Serializers\Deserializer.cs (4)
254
requestFormat = WebUtil.GetResponseFormatForPrimitiveValue(description.
TargetResourceType
, out contentType);
257
if (description.
TargetResourceType
!= null)
259
throw new DataServiceException(415, Strings.BadRequest_InvalidContentType(host.RequestContentType, description.
TargetResourceType
.Name));
699
Debug.Assert(requestDescription.
TargetResourceType
!= null, "requestDescription.TargetResourceType != null");
System\Data\Services\Serializers\PlainXmlSerializer.cs (3)
135
element != null || this.RequestDescription.
TargetResourceType
!= null || this.RequestDescription.TargetKind == RequestTargetKind.OpenProperty,
151
resourceType = this.RequestDescription.
TargetResourceType
;
181
this.RequestDescription.
TargetResourceType
: WebUtil.GetResourceType(this.Provider, element);
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
174
this.RequestDescription.
TargetResourceType
,
258
this.RequestDescription.
TargetResourceType
,