36 references to ServiceOperationResultKind
System.Data.Services (36)
System\Data\Services\DataServiceConfiguration.cs (1)
615
if (operation.ResultKind !=
ServiceOperationResultKind
.Void)
System\Data\Services\Providers\BaseServiceProvider.cs (8)
728
ServiceOperationResultKind
resultKind;
732
resultKind =
ServiceOperationResultKind
.Void;
743
resultKind =
ServiceOperationResultKind
.DirectValue;
753
ServiceOperationResultKind
.QueryWithSingleResult :
754
ServiceOperationResultKind
.QueryWithMultipleResults;
762
resultKind =
ServiceOperationResultKind
.Enumeration;
768
resultKind =
ServiceOperationResultKind
.DirectValue;
786
if (resultKind ==
ServiceOperationResultKind
.Enumeration && hasSingleResult)
System\Data\Services\Providers\ServiceOperation.cs (6)
30
private readonly
ServiceOperationResultKind
resultKind;
62
ServiceOperationResultKind
resultKind,
72
if ((resultKind ==
ServiceOperationResultKind
.Void && resultType != null) ||
73
(resultKind !=
ServiceOperationResultKind
.Void && resultType == null))
75
throw new ArgumentException(Strings.ServiceOperation_ResultTypeAndKindMustMatch("resultKind", "resultType",
ServiceOperationResultKind
.Void));
160
public
ServiceOperationResultKind
ResultKind
System\Data\Services\Providers\ServiceOperationWrapper.cs (1)
94
public
ServiceOperationResultKind
ResultKind
System\Data\Services\RequestDescription.cs (1)
345
return this.TargetSource == RequestTargetSource.ServiceOperation && this.SegmentInfos[0].Operation.ResultKind ==
ServiceOperationResultKind
.Enumeration;
System\Data\Services\RequestUriProcessor.cs (11)
130
lastSegment.Operation.ResultKind ==
ServiceOperationResultKind
.QueryWithSingleResult);
506
if (segment.Operation.ResultKind !=
ServiceOperationResultKind
.Void)
518
case
ServiceOperationResultKind
.QueryWithMultipleResults:
519
case
ServiceOperationResultKind
.QueryWithSingleResult:
531
segment.SingleResult = (segment.Operation.ResultKind ==
ServiceOperationResultKind
.QueryWithSingleResult);
534
case
ServiceOperationResultKind
.DirectValue:
535
case
ServiceOperationResultKind
.Enumeration:
547
segment.SingleResult = (segment.Operation.ResultKind ==
ServiceOperationResultKind
.DirectValue);
557
Debug.Assert(segment.Operation.ResultKind ==
ServiceOperationResultKind
.Void, "segment.Operation.ResultKind == ServiceOperationResultKind.Nothing");
740
if (previous.Operation != null && (previous.Operation.ResultKind ==
ServiceOperationResultKind
.Enumeration || previous.Operation.ResultKind ==
ServiceOperationResultKind
.DirectValue))
System\Data\Services\Serializers\MetadataSerializer.cs (5)
155
if (operation.ResultKind ==
ServiceOperationResultKind
.Void)
172
if (operation.ResultKind !=
ServiceOperationResultKind
.QueryWithSingleResult &&
173
operation.ResultKind !=
ServiceOperationResultKind
.DirectValue)
176
operation.ResultKind ==
ServiceOperationResultKind
.Enumeration ||
177
operation.ResultKind ==
ServiceOperationResultKind
.QueryWithMultipleResults,
System\Data\Services\WebUtil.cs (3)
206
internal static void CheckServiceOperationResultKind(
ServiceOperationResultKind
kind, string parameterName)
208
if (kind <
ServiceOperationResultKind
.DirectValue ||
209
kind >
ServiceOperationResultKind
.Void)