10 writes to Identifier
System.Data.Services (10)
System\Data\Services\RequestDescription.cs (1)
420
segmentInfo.
Identifier
= description.LastSegmentInfo.Identifier;
System\Data\Services\RequestUriProcessor.cs (5)
470
segment.
Identifier
= identifier;
583
newSegmentInfo.
Identifier
= segment.Identifier;
716
segment.
Identifier
= identifier;
725
segment.
Identifier
= identifier;
754
segment.
Identifier
= identifier;
System\Data\Services\SegmentInfo.cs (1)
76
this.
Identifier
= other.Identifier;
System\Data\Services\Serializers\Deserializer.cs (3)
716
adjustedSegment.
Identifier
= segmentInfo.Identifier;
853
result.
Identifier
= propertyName;
861
result.
Identifier
= propertyName;
55 references to Identifier
System.Data.Services (55)
System\Data\Services\DataService.cs (12)
728
if (lastSegmentContainer != null && description.LastSegmentInfo.
Identifier
!= XmlConstants.UriCountSegment)
910
throw DataServiceException.CreateResourceNotFound(description.LastSegmentInfo.
Identifier
);
1232
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(description.LastSegmentInfo.
Identifier
));
1353
throw DataServiceException.CreateResourceNotFound(description.LastSegmentInfo.
Identifier
);
1425
WebUtil.CheckResourceExists(element != null, description.LastSegmentInfo.
Identifier
);
1519
WebUtil.CheckResourceExists(resource != null, parentSegment.
Identifier
);
1534
ResourceProperty resProperty = openTypeParentResourceType.Properties.First(p => p.Name == currentSegment.
Identifier
);
1540
resource = WebUtil.GetPropertyValue(dataService.Provider, resource, openTypeParentResourceType, null, currentSegment.
Identifier
);
1609
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(description.LastSegmentInfo.
Identifier
));
2284
resource = this.Updatable.GetValue(resource, description.SegmentInfos[i].
Identifier
);
2287
throw DataServiceException.CreateBadRequestError(Strings.BadRequest_DereferencingNullPropertyValue(description.SegmentInfos[i].
Identifier
));
2728
string identifier = requestDescription.SegmentInfos[0].
Identifier
;
System\Data\Services\RequestDescription.cs (4)
360
WebUtil.CheckResourceExists(queryResults.MoveNext(), segmentInfo.
Identifier
);
389
throw DataServiceException.CreateResourceNotFound(segmentInfo.
Identifier
);
397
Strings.InvalidUri_OpenPropertiesCannotBeCollection(segmentInfo.
Identifier
));
420
segmentInfo.Identifier = description.LastSegmentInfo.
Identifier
;
System\Data\Services\RequestUriProcessor.cs (23)
123
lastSegment.
Identifier
:
124
segmentInfos[segmentInfos.Length - 2].
Identifier
;
137
lastSegment.
Identifier
== XmlConstants.UriCountSegment ?
154
CountOption = lastSegment.
Identifier
== XmlConstants.UriCountSegment ? RequestQueryCountOption.ValueOnly : RequestQueryCountOption.None
473
if (segment.
Identifier
== XmlConstants.UriMetadataSegment)
480
if (segment.
Identifier
== XmlConstants.UriBatchSegment)
487
if (segment.
Identifier
== XmlConstants.UriCountSegment)
494
segment.Operation = service.Provider.TryResolveServiceOperation(segment.
Identifier
);
530
WebUtil.CheckResourceExists(segment.RequestQueryable != null, segment.
Identifier
);
548
WebUtil.CheckResourceExists(segment.SingleResult || methodResult != null, segment.
Identifier
); // Enumerations shouldn't be null.
580
SegmentInfo newSegmentInfo = service.GetSegmentForContentId(segment.
Identifier
);
583
newSegmentInfo.Identifier = segment.
Identifier
;
589
ResourceSetWrapper container = service.Provider.TryResolveResourceSet(segment.
Identifier
);
590
WebUtil.CheckResourceExists(container != null, segment.
Identifier
);
599
WebUtil.CheckResourceExists(segment.RequestQueryable != null, segment.
Identifier
);
698
throw DataServiceException.ResourceNotFoundError(Strings.RequestUriProcessor_MustBeLeafSegment(previous.
Identifier
));
711
throw DataServiceException.ResourceNotFoundError(Strings.RequestUriProcessor_ValueSegmentAfterScalarPropertySegment(previous.
Identifier
, identifier));
743
Strings.RequestUriProcessor_IEnumerableServiceOperationsCannotBeFurtherComposed(previous.
Identifier
));
750
Strings.RequestUriProcessor_CannotQueryCollections(previous.
Identifier
));
776
throw DataServiceException.CreateResourceNotFound(Strings.RequestUriProcessor_CountNotSupported(previous.
Identifier
));
781
throw DataServiceException.CreateResourceNotFound(Strings.RequestUriProcessor_CannotQuerySingletons(previous.
Identifier
, identifier));
824
WebUtil.CheckResourceExists(previous.TargetResourceType.IsOpenType, segment.
Identifier
);
833
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(segment.
Identifier
));
System\Data\Services\SegmentInfo.cs (1)
76
this.Identifier = other.
Identifier
;
System\Data\Services\Serializers\Deserializer.cs (9)
463
throw DataServiceException.CreateBadRequestError(Strings.BadRequest_DereferencingNullPropertyValue(description.SegmentInfos[entityResourceIndex].
Identifier
));
472
resourceToModify = updatable.GetValue(resourceToModify, description.SegmentInfos[i].
Identifier
);
483
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(description.SegmentInfos[entityResourceIndex].
Identifier
));
554
throw DataServiceException.CreateResourceNotFound(segmentInfo.
Identifier
);
639
if (segmentInfo.
Identifier
.StartsWith("$", StringComparison.Ordinal) && service.GetSegmentForContentId(segmentInfo.
Identifier
) != null)
716
adjustedSegment.Identifier = segmentInfo.
Identifier
;
923
WebUtil.CheckResourceExists(resourceCookie != null, requestDescription.LastSegmentInfo.
Identifier
);
977
WebUtil.CheckResourceExists(resourceCookie != null, segmentInfo.
Identifier
);
System\Data\Services\Serializers\JsonDeserializer.cs (3)
272
if (jsonObject.Count == 1 && jsonObject.Entries.TryGetValue(segment.
Identifier
, out resource))
399
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(segmentInfo.
Identifier
));
494
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(segmentInfo.
Identifier
));
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
370
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(segmentInfo.
Identifier
));
523
WebUtil.CheckResourceExists(targetResource != null, description.LastSegmentInfo.
Identifier
);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
245
string relativeUri = this.RequestDescription.LastSegmentInfo.
Identifier
;