22 references to RequestQueryCountOption
System.Data.Services (22)
System\Data\Services\RequestDescription.cs (4)
80
private
RequestQueryCountOption
countOption;
293
internal
RequestQueryCountOption
CountOption
451
return description.IsSingleResult && description.CountOption !=
RequestQueryCountOption
.ValueOnly && (description.RootProjectionNode == null || !description.RootProjectionNode.ExpansionsSpecified) && !description.LinkUri;
567
if (this.LinkUri || this.CountOption ==
RequestQueryCountOption
.ValueOnly)
System\Data\Services\RequestQueryProcessor.cs (7)
108
(description.CountOption ==
RequestQueryCountOption
.ValueOnly);
111
description.CountOption ==
RequestQueryCountOption
.ValueOnly;
120
(description.CountOption !=
RequestQueryCountOption
.ValueOnly) &&
763
if (this.description.CountOption ==
RequestQueryCountOption
.ValueOnly)
992
if (this.description.CountOption ==
RequestQueryCountOption
.ValueOnly)
1005
this.description.CountOption =
RequestQueryCountOption
.Inline;
1133
else if (this.description.CountOption ==
RequestQueryCountOption
.ValueOnly)
System\Data\Services\RequestUriProcessor.cs (7)
136
RequestQueryCountOption
countOption =
138
RequestQueryCountOption
.ValueOnly :
139
RequestQueryCountOption
.None;
142
if (countOption !=
RequestQueryCountOption
.None && !service.Configuration.DataServiceBehavior.AcceptCountRequests)
154
CountOption = lastSegment.Identifier == XmlConstants.UriCountSegment ?
RequestQueryCountOption
.ValueOnly :
RequestQueryCountOption
.None
177
if (resultDescription.CountOption !=
RequestQueryCountOption
.None ||
System\Data\Services\Serializers\JsonSerializer.cs (2)
162
if (this.RequestDescription.CountOption ==
RequestQueryCountOption
.Inline)
251
if (this.RequestDescription.CountOption ==
RequestQueryCountOption
.Inline)
System\Data\Services\Serializers\PlainXmlSerializer.cs (1)
231
if (this.RequestDescription.CountOption ==
RequestQueryCountOption
.Inline)
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
248
if (this.RequestDescription.CountOption ==
RequestQueryCountOption
.Inline)