2 writes to Operation
System.Data.Services (2)
System\Data\Services\RequestUriProcessor.cs (1)
494
segment.
Operation
= service.Provider.TryResolveServiceOperation(segment.Identifier);
System\Data\Services\SegmentInfo.cs (1)
78
this.
Operation
= other.Operation;
28 references to Operation
System.Data.Services (28)
System\Data\Services\DataService.cs (3)
719
if (description.LastSegmentInfo.
Operation
!= null &&
720
(0 != (dataService.Configuration.GetServiceOperationRights(description.LastSegmentInfo.
Operation
.ServiceOperation) & ServiceOperationRights.OverrideEntitySetRights)))
722
DataServiceConfiguration.CheckServiceRights(description.LastSegmentInfo.
Operation
, description.IsSingleResult);
System\Data\Services\RequestDescription.cs (1)
345
return this.TargetSource == RequestTargetSource.ServiceOperation && this.SegmentInfos[0].
Operation
.ResultKind == ServiceOperationResultKind.Enumeration;
System\Data\Services\RequestUriProcessor.cs (22)
98
service.Provider.InvokeServiceOperation(lastSegment.
Operation
, lastSegment.OperationParameters);
130
lastSegment.
Operation
.ResultKind == ServiceOperationResultKind.QueryWithSingleResult);
133
(targetSource == RequestTargetSource.ServiceOperation) ? lastSegment.
Operation
.MimeType :
495
if (segment.
Operation
!= null)
497
WebUtil.DebugEnumIsDefined(segment.
Operation
.ResultKind);
499
if (service.OperationContext.RequestMethod != segment.
Operation
.Method)
501
throw DataServiceException.CreateMethodNotAllowed(Strings.RequestUriProcessor_MethodNotAllowed, segment.
Operation
.Method);
504
segment.TargetContainer = segment.
Operation
.ResourceSet;
506
if (segment.
Operation
.ResultKind != ServiceOperationResultKind.Void)
508
segment.TargetResourceType = segment.
Operation
.ResultType;
515
segment.OperationParameters = ReadOperationParameters(service.OperationContext.Host, segment.
Operation
);
516
switch (segment.
Operation
.ResultKind)
522
segment.RequestQueryable = (IQueryable)service.Provider.InvokeServiceOperation(segment.
Operation
, segment.OperationParameters);
531
segment.SingleResult = (segment.
Operation
.ResultKind == ServiceOperationResultKind.QueryWithSingleResult);
539
methodResult = service.Provider.InvokeServiceOperation(segment.
Operation
, segment.OperationParameters);
547
segment.SingleResult = (segment.
Operation
.ResultKind == ServiceOperationResultKind.DirectValue);
550
segment.TargetResourceType = segment.
Operation
.ResultType;
557
Debug.Assert(segment.
Operation
.ResultKind == ServiceOperationResultKind.Void, "segment.Operation.ResultKind == ServiceOperationResultKind.Nothing");
574
DataServiceConfiguration.CheckServiceRights(segment.
Operation
, segment.SingleResult);
740
if (previous.
Operation
!= null && (previous.
Operation
.ResultKind == ServiceOperationResultKind.Enumeration || previous.
Operation
.ResultKind == ServiceOperationResultKind.DirectValue))
System\Data\Services\SegmentInfo.cs (1)
78
this.Operation = other.
Operation
;
System\Data\Services\Serializers\Serializer.cs (1)
847
foreach (var parameter in this.RequestDescription.SegmentInfos[0].
Operation
.Parameters)