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