15 writes to SingleResult
System.Data.Services (15)
System\Data\Services\RequestDescription.cs (2)
115
segment.
SingleResult
= true;
416
segmentInfo.
SingleResult
= true;
System\Data\Services\RequestUriProcessor.cs (10)
442
segment.
SingleResult
= !segment.Key.IsEmpty;
451
segment.
SingleResult
= true;
531
segment.
SingleResult
= (segment.Operation.ResultKind == ServiceOperationResultKind.QueryWithSingleResult);
547
segment.
SingleResult
= (segment.Operation.ResultKind == ServiceOperationResultKind.DirectValue);
606
segment.
SingleResult
= false;
717
segment.
SingleResult
= true;
790
segment.
SingleResult
= true;
799
segment.
SingleResult
= true;
838
segment.
SingleResult
= true;
850
segment.
SingleResult
= (propertyKind != ResourcePropertyKind.ResourceSetReference);
System\Data\Services\SegmentInfo.cs (1)
82
this.
SingleResult
= other.SingleResult;
System\Data\Services\Serializers\Deserializer.cs (2)
712
adjustedSegment.
SingleResult
= true;
852
result.
SingleResult
= singleResult;
19 references to SingleResult
System.Data.Services (19)
System\Data\Services\RequestDescription.cs (1)
234
get { return this.LastSegmentInfo.
SingleResult
; }
System\Data\Services\RequestUriProcessor.cs (15)
393
Debug.Assert(description.LastSegmentInfo.
SingleResult
, "description.LastSegmentInfo.SingleResult");
438
Debug.Assert(segment.
SingleResult
== false, "segment.SingleResult == false");
443
if (segment.
SingleResult
)
548
WebUtil.CheckResourceExists(segment.
SingleResult
|| methodResult != null, segment.Identifier); // Enumerations shouldn't be null.
549
segment.RequestEnumerable = segment.
SingleResult
? new object[1] { methodResult } : (IEnumerable)methodResult;
567
WebUtil.CheckSyntaxValid(!segment.
SingleResult
);
574
DataServiceConfiguration.CheckServiceRights(segment.Operation, segment.
SingleResult
);
614
DataServiceConfiguration.CheckResourceRightsForRead(container, segment.
SingleResult
);
721
previous.
SingleResult
&&
746
if (!previous.
SingleResult
&& identifier != XmlConstants.UriCountSegment)
779
if (previous.
SingleResult
)
855
segment.RequestQueryable = segment.
SingleResult
?
861
segment.RequestQueryable = segment.
SingleResult
?
900
WebUtil.CheckSyntaxValid(!segment.
SingleResult
);
916
DataServiceConfiguration.CheckResourceRightsForRead(segment.TargetContainer, segment.
SingleResult
);
System\Data\Services\SegmentInfo.cs (1)
82
this.SingleResult = other.
SingleResult
;
System\Data\Services\Serializers\Deserializer.cs (1)
708
Debug.Assert(!segmentInfo.
SingleResult
, "POST operation is allowed only on collections");
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
678
propertySegment.
SingleResult
== false,