72 references to LastSegmentInfo
System.Data.Services (72)
System\Data\Services\DataService.cs (26)
714
ResourceSetWrapper lastSegmentContainer = description.
LastSegmentInfo
.TargetContainer;
719
if (description.
LastSegmentInfo
.Operation != null &&
720
(0 != (dataService.Configuration.GetServiceOperationRights(description.
LastSegmentInfo
.Operation.ServiceOperation) & ServiceOperationRights.OverrideEntitySetRights)))
722
DataServiceConfiguration.CheckServiceRights(description.
LastSegmentInfo
.Operation, description.IsSingleResult);
728
if (lastSegmentContainer != null && description.
LastSegmentInfo
.Identifier != XmlConstants.UriCountSegment)
910
throw DataServiceException.CreateResourceNotFound(description.
LastSegmentInfo
.Identifier);
1059
ResourceSetWrapper targetResourceSet = description.
LastSegmentInfo
.TargetContainer;
1069
Debug.Assert(description.
LastSegmentInfo
.TargetContainer != null, "description.LastSegmentInfo.TargetContainer != null");
1070
DataServiceConfiguration.CheckResourceRights(description.
LastSegmentInfo
.TargetContainer, EntitySetRights.WriteAppend);
1090
description, entity, description.
LastSegmentInfo
.TargetContainer);
1155
Debug.Assert(description.
LastSegmentInfo
.TargetContainer != null, "description.LastSegmentInfo.TargetContainer != null");
1170
object entity = Deserializer.GetResource(description.
LastSegmentInfo
, null, dataService, true /*checkForNull*/);
1171
ResourceSetWrapper container = description.
LastSegmentInfo
.TargetContainer;
1232
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(description.
LastSegmentInfo
.Identifier));
1353
throw DataServiceException.CreateResourceNotFound(description.
LastSegmentInfo
.Identifier);
1402
queryResults = RequestDescription.GetSingleResultFromEnumerable(description.
LastSegmentInfo
);
1425
WebUtil.CheckResourceExists(element != null, description.
LastSegmentInfo
.Identifier);
1510
if (description.SegmentInfos[parentResourceIndex].RequestEnumerable != description.
LastSegmentInfo
.RequestEnumerable)
1549
RequestDescription.CheckQueryResult(resource, description.
LastSegmentInfo
);
1605
container = description.
LastSegmentInfo
.TargetContainer;
1609
throw DataServiceException.CreateBadRequestError(Strings.OpenNavigationPropertiesNotSupportedOnOpenTypes(description.
LastSegmentInfo
.Identifier));
1642
Debug.Assert(description.
LastSegmentInfo
.HasKeyValues, "expecting properties to have key value specified");
1643
object childEntity = Deserializer.GetResource(description.
LastSegmentInfo
, null, dataService, true /*checkForNull*/);
2509
this.contentIdsToSegmentInfoMapping.Add(contentId, description.
LastSegmentInfo
);
2751
object resource = Deserializer.GetCrossReferencedResource(requestDescription.
LastSegmentInfo
);
2752
previousRequest.
LastSegmentInfo
.RequestEnumerable = new object[] { resource };
System\Data\Services\RequestDescription.cs (9)
228
get { return this.
LastSegmentInfo
.RequestEnumerable; }
234
get { return this.
LastSegmentInfo
.SingleResult; }
247
get { return this.
LastSegmentInfo
.TargetKind; }
253
get { return this.
LastSegmentInfo
.TargetResourceType; }
259
get { return this.
LastSegmentInfo
.TargetSource; }
267
get { return this.
LastSegmentInfo
.ProjectedProperty; }
420
segmentInfo.Identifier = description.
LastSegmentInfo
.Identifier;
471
Debug.Assert(this.
LastSegmentInfo
!= null, "this.LastSegmentInfo != null");
530
return this.UpdateEpmResponseVersion(acceptTypesText, this.
LastSegmentInfo
.TargetContainer, provider);
System\Data\Services\RequestQueryProcessor.cs (12)
143
ResourceSetWrapper targetContainer = this.description.
LastSegmentInfo
.TargetContainer;
372
this.description.
LastSegmentInfo
.TargetContainer,
399
ResourceSetWrapper resourceSet = this.description.
LastSegmentInfo
.TargetContainer;
854
this.query = RequestQueryParser.Where(this.service, this.description.
LastSegmentInfo
.TargetContainer, this.description.TargetResourceType, this.query, filter);
925
ParameterExpression p = Expression.Parameter(this.description.
LastSegmentInfo
.TargetResourceType.InstanceType, "it");
929
this.description.
LastSegmentInfo
.TargetContainer,
930
this.description.
LastSegmentInfo
.TargetResourceType,
1043
Debug.Assert(this.description.
LastSegmentInfo
.TargetContainer != null, "Resource set must be known for Ordering to be applied.");
1044
ResourceSetWrapper resourceSet = this.description.
LastSegmentInfo
.TargetContainer;
1082
this.description.
LastSegmentInfo
.TargetContainer,
1322
pageSize = this.description.
LastSegmentInfo
.TargetContainer.PageSize;
1384
this.description.
LastSegmentInfo
.TargetResourceType,
System\Data\Services\RequestUriProcessor.cs (5)
393
Debug.Assert(description.
LastSegmentInfo
.SingleResult, "description.LastSegmentInfo.SingleResult");
394
DataServiceConfiguration.CheckResourceRightsForRead(description.
LastSegmentInfo
.TargetContainer, true /* singleResult */);
398
Debug.Assert(description.
LastSegmentInfo
.Key != null && !description.
LastSegmentInfo
.Key.IsEmpty, "Key Must be specified");
399
return description.
LastSegmentInfo
.Key;
System\Data\Services\Serializers\Deserializer.cs (16)
324
container = description.
LastSegmentInfo
.TargetContainer;
331
description.
LastSegmentInfo
.HasKeyValues &&
357
container = description.
LastSegmentInfo
.TargetContainer;
509
Debug.Assert(!description.
LastSegmentInfo
.HasKeyValues, "CreateSegments must have caught the problem already.");
525
ResourceProperty propertyToUpdate = description.
LastSegmentInfo
.ProjectedProperty;
577
object entity = service.Updatable.CreateResource(description.
LastSegmentInfo
.TargetContainer.Name, fullTypeName);
578
tracker.TrackAction(entity, description.
LastSegmentInfo
.TargetContainer, UpdateOperations.Add);
697
Debug.Assert(requestDescription.
LastSegmentInfo
!= null, "requestDescription.LastSegmentInfo != null");
698
Debug.Assert(requestDescription.
LastSegmentInfo
.TargetContainer != null, "requestDescription.LastSegmentInfo.TargetContainer != null");
700
this.RequestDescription.UpdateAndCheckEpmFeatureVersion(this.description.
LastSegmentInfo
.TargetContainer, this.Service);
705
SegmentInfo segmentInfo = requestDescription.
LastSegmentInfo
;
743
if (requestDescription.
LastSegmentInfo
.TargetContainer != null)
745
DataServiceConfiguration.CheckResourceRights(requestDescription.
LastSegmentInfo
.TargetContainer, EntitySetRights.WriteAppend);
757
this.tracker.TrackAction(resourceInPayload, requestDescription.
LastSegmentInfo
.TargetContainer, UpdateOperations.Add);
923
WebUtil.CheckResourceExists(resourceCookie != null, requestDescription.
LastSegmentInfo
.Identifier);
1096
Debug.Assert(!requestDescription.
LastSegmentInfo
.HasKeyValues, "CreateSegments must have caught this issue.");
System\Data\Services\Serializers\Serializer.cs (1)
104
return this.requestDescription.
LastSegmentInfo
.TargetContainer;
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
523
WebUtil.CheckResourceExists(targetResource != null, description.
LastSegmentInfo
.Identifier);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
245
string relativeUri = this.RequestDescription.
LastSegmentInfo
.Identifier;
System\Data\Services\WebUtil.cs (1)
464
description.
LastSegmentInfo
.HasKeyValues)