24 references to TargetSource
System.Data.Services (24)
System\Data\Services\DataService.cs (13)
744
if (description.
TargetSource
!= RequestTargetSource.ServiceOperation)
890
if (description.
TargetSource
== RequestTargetSource.ServiceOperation ||
891
description.
TargetSource
== RequestTargetSource.None ||
896
(String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) || description.
TargetSource
== RequestTargetSource.ServiceOperation,
1030
description.
TargetSource
!= RequestTargetSource.ServiceOperation,
1047
description.
TargetSource
== RequestTargetSource.EntitySet ||
1073
if (description.
TargetSource
== RequestTargetSource.Property)
1099
Debug.Assert(description.
TargetSource
!= RequestTargetSource.ServiceOperation, "description.TargetSource != RequestTargetSource.ServiceOperation");
1139
Debug.Assert(description.
TargetSource
!= RequestTargetSource.ServiceOperation, "description.TargetSource != RequestTargetSource.ServiceOperation");
1198
Debug.Assert(description.
TargetSource
== RequestTargetSource.Property, "description.TargetSource == RequestTargetSource.Property");
1773
bool serviceOperationRequest = (description.
TargetSource
== RequestTargetSource.ServiceOperation);
2491
serviceOperationRequests &= (description.
TargetSource
== RequestTargetSource.ServiceOperation);
2502
description.TargetKind == RequestTargetKind.Resource || description.
TargetSource
== RequestTargetSource.ServiceOperation,
System\Data\Services\RequestDescription.cs (2)
345
return this.
TargetSource
== RequestTargetSource.ServiceOperation && this.SegmentInfos[0].Operation.ResultKind == ServiceOperationResultKind.Enumeration;
415
segmentInfo.TargetSource = description.
TargetSource
;
System\Data\Services\RequestUriProcessor.cs (1)
387
if (description.TargetKind != RequestTargetKind.Resource || !description.IsSingleResult || description.
TargetSource
!= RequestTargetSource.EntitySet)
System\Data\Services\Serializers\Deserializer.cs (3)
332
description.
TargetSource
== RequestTargetSource.EntitySet)
749
if (requestDescription.
TargetSource
== RequestTargetSource.Property)
756
Debug.Assert(requestDescription.
TargetSource
== RequestTargetSource.EntitySet, "Expecting POST on entity set");
System\Data\Services\Serializers\SyndicationSerializer.cs (5)
167
if (this.RequestDescription.
TargetSource
== RequestTargetSource.EntitySet ||
168
this.RequestDescription.
TargetSource
== RequestTargetSource.ServiceOperation)
183
this.RequestDescription.
TargetSource
== RequestTargetSource.Property,
184
"TargetSource(" + this.RequestDescription.
TargetSource
+ ") == Property -- otherwise control shouldn't be here.");
233
this.RequestDescription.
TargetSource
== RequestTargetSource.Property)