8 writes to TargetContainer
System.Data.Services (8)
System\Data\Services\RequestDescription.cs (1)
419
segmentInfo.
TargetContainer
= container;
System\Data\Services\RequestUriProcessor.cs (4)
504
segment.
TargetContainer
= segment.Operation.ResourceSet;
602
segment.
TargetContainer
= container;
793
segment.
TargetContainer
= previous.TargetContainer;
885
segment.
TargetContainer
= service.Provider.GetContainer(previous.TargetContainer, previous.TargetResourceType, segment.ProjectedProperty);
System\Data\Services\SegmentInfo.cs (1)
83
this.
TargetContainer
= other.TargetContainer;
System\Data\Services\Serializers\Deserializer.cs (2)
715
adjustedSegment.
TargetContainer
= segmentInfo.TargetContainer;
864
result.
TargetContainer
= propertySet;
56 references to TargetContainer
System.Data.Services (56)
System\Data\Services\DataService.cs (9)
714
ResourceSetWrapper lastSegmentContainer = description.LastSegmentInfo.
TargetContainer
;
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");
1171
ResourceSetWrapper container = description.LastSegmentInfo.
TargetContainer
;
1359
ResourceSetWrapper container = parentEntitySegment.
TargetContainer
;
1605
container = description.LastSegmentInfo.
TargetContainer
;
System\Data\Services\DataServiceConfiguration.cs (1)
648
ResourceSetWrapper container = description.SegmentInfos[index].
TargetContainer
;
System\Data\Services\RequestDescription.cs (4)
494
ResourceSetWrapper resourceSet = this.SegmentInfos[resourceIndex].
TargetContainer
;
530
return this.UpdateEpmResponseVersion(acceptTypesText, this.LastSegmentInfo.
TargetContainer
, provider);
662
leftSet = this.segmentInfos[idx - 1].
TargetContainer
;
663
rightSet = this.segmentInfos[idx + 1].
TargetContainer
;
System\Data\Services\RequestQueryProcessor.cs (9)
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);
929
this.description.LastSegmentInfo.
TargetContainer
,
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;
System\Data\Services\RequestUriProcessor.cs (7)
394
DataServiceConfiguration.CheckResourceRightsForRead(description.LastSegmentInfo.
TargetContainer
, true /* singleResult */);
793
segment.TargetContainer = previous.
TargetContainer
;
885
segment.TargetContainer = service.Provider.GetContainer(previous.
TargetContainer
, previous.TargetResourceType, segment.ProjectedProperty);
886
if (segment.
TargetContainer
== null)
912
if (segment.
TargetContainer
!= null)
916
DataServiceConfiguration.CheckResourceRightsForRead(segment.
TargetContainer
, segment.SingleResult);
921
segment.RequestQueryable = DataServiceConfiguration.ComposeResourceContainer(service, segment.
TargetContainer
, segment.RequestQueryable);
System\Data\Services\SegmentInfo.cs (1)
83
this.TargetContainer = other.
TargetContainer
;
System\Data\Services\Serializers\Deserializer.cs (14)
324
container = description.LastSegmentInfo.
TargetContainer
;
357
container = description.LastSegmentInfo.
TargetContainer
;
436
entityContainer = description.SegmentInfos[entityResourceIndex].
TargetContainer
;
540
if (segmentInfo.
TargetContainer
!= null)
547
DataServiceConfiguration.CheckResourceRights(segmentInfo.
TargetContainer
, EntitySetRights.ReadSingle);
577
object entity = service.Updatable.CreateResource(description.LastSegmentInfo.
TargetContainer
.Name, fullTypeName);
578
tracker.TrackAction(entity, description.LastSegmentInfo.
TargetContainer
, UpdateOperations.Add);
698
Debug.Assert(requestDescription.LastSegmentInfo.
TargetContainer
!= null, "requestDescription.LastSegmentInfo.TargetContainer != null");
700
this.RequestDescription.UpdateAndCheckEpmFeatureVersion(this.description.LastSegmentInfo.
TargetContainer
, this.Service);
715
adjustedSegment.TargetContainer = segmentInfo.
TargetContainer
;
743
if (requestDescription.LastSegmentInfo.
TargetContainer
!= null)
745
DataServiceConfiguration.CheckResourceRights(requestDescription.LastSegmentInfo.
TargetContainer
, EntitySetRights.WriteAppend);
757
this.tracker.TrackAction(resourceInPayload, requestDescription.LastSegmentInfo.
TargetContainer
, UpdateOperations.Add);
969
this.service.Updatable.SetETagValues(resourceCookie, segmentInfo.
TargetContainer
);
System\Data\Services\Serializers\JsonDeserializer.cs (6)
476
DataServiceConfiguration.CheckResourceRights(segmentInfo.
TargetContainer
, EntitySetRights.WriteAppend);
478
resource = this.Updatable.CreateResource(segmentInfo.
TargetContainer
.Name, resourceType.FullName);
487
this.Tracker.TrackAction(resource, segmentInfo.
TargetContainer
, UpdateOperations.Add);
500
bool changed = this.PopulateProperties(jsonObjectRecord, resource, segmentInfo.
TargetContainer
, resourceType);
505
if (changed && existingResource && segmentInfo.
TargetContainer
!= null)
507
this.Tracker.TrackAction(resource, segmentInfo.
TargetContainer
, UpdateOperations.Change);
System\Data\Services\Serializers\Serializer.cs (1)
104
return this.requestDescription.LastSegmentInfo.
TargetContainer
;
System\Data\Services\Serializers\SyndicationDeserializer.cs (4)
375
container = segmentInfo.
TargetContainer
;
408
DataServiceConfiguration.CheckResourceRights(segmentInfo.
TargetContainer
, EntitySetRights.WriteAppend);
441
Debug.Assert(segmentInfo.
TargetContainer
!= null, "segmentInfo.TargetContainer != null");
442
this.ApplyLink(link, segmentInfo.
TargetContainer
, currentResourceType, result, navigationPropertyName);