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