1 write to Kind
System.Data.Services (1)
System\Data\Services\Providers\ResourceType.cs (1)
874
property.
Kind
= property.Kind ^ ResourcePropertyKind.Key;
31 references to Kind
System.Data.Services (31)
System\Data\Services\DataService.cs (5)
1048
description.Property.
Kind
== ResourcePropertyKind.ResourceSetReference,
1075
Debug.Assert(description.Property.
Kind
== ResourcePropertyKind.ResourceSetReference, "Expecting POST resource set property");
1108
else if (description.LinkUri && description.Property.
Kind
!= ResourcePropertyKind.ResourceReference)
1635
if (description.Property.
Kind
== ResourcePropertyKind.ResourceReference)
1641
Debug.Assert(description.Property.
Kind
== ResourcePropertyKind.ResourceSetReference, "expecting collection nav properties");
System\Data\Services\Parsing\RequestQueryParser.cs (2)
2084
bool singleResult = property.
Kind
== ResourcePropertyKind.ResourceReference;
2100
property.
Kind
== ResourcePropertyKind.ResourceSetReference);
System\Data\Services\Providers\BasicExpandProvider.cs (2)
1084
child.AssignTypeForExpected(segmentType, property.
Kind
!= ResourcePropertyKind.ResourceSetReference);
1262
if (property.
Kind
== ResourcePropertyKind.ResourceSetReference)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2412
if (resourceProperty.
Kind
== ResourcePropertyKind.ResourceReference)
System\Data\Services\Providers\ResourceAssociationTypeEnd.cs (1)
75
if (this.fromProperty != null && this.fromProperty.
Kind
== ResourcePropertyKind.ResourceReference)
System\Data\Services\Providers\ResourceProperty.cs (1)
189
if (this.
Kind
== ResourcePropertyKind.ResourceSetReference)
System\Data\Services\Providers\ResourceType.cs (1)
874
property.Kind = property.
Kind
^ ResourcePropertyKind.Key;
System\Data\Services\RequestQueryProcessor.cs (1)
431
bool singleResult = property.
Kind
== ResourcePropertyKind.ResourceReference;
System\Data\Services\RequestUriProcessor.cs (5)
128
projectedProperty.
Kind
!= ResourcePropertyKind.ResourceSetReference) ||
849
ResourcePropertyKind propertyKind = segment.ProjectedProperty.
Kind
;
1114
Debug.Assert(property.
Kind
!= ResourcePropertyKind.ResourceSetReference, "property != ResourcePropertyKind.ResourceSetReference");
1133
Debug.Assert(property.
Kind
== ResourcePropertyKind.ResourceSetReference, "property == ResourcePropertyKind.ResourceSetReference");
1197
Debug.Assert(property != null && property.
Kind
== ResourcePropertyKind.ResourceSetReference && !property.CanReflectOnInstanceTypeProperty, "property != null && property.Kind == ResourcePropertyKind.ResourceSetReference && !property.CanReflectOnInstanceTypeProperty");
System\Data\Services\Serializers\Deserializer.cs (1)
751
Debug.Assert(requestDescription.Property.
Kind
== ResourcePropertyKind.ResourceSetReference, "Expecting POST resource set property");
System\Data\Services\Serializers\JsonDeserializer.cs (2)
790
if (resourceProperty.
Kind
== ResourcePropertyKind.ResourceReference)
802
else if (resourceProperty.
Kind
== ResourcePropertyKind.ResourceSetReference)
System\Data\Services\Serializers\MetadataSerializer.cs (1)
508
else if (resourceProperty.
Kind
== ResourcePropertyKind.ComplexType)
System\Data\Services\Serializers\Serializer.cs (1)
516
if ((property.
Kind
& (ResourcePropertyKind.ResourceReference | ResourcePropertyKind.ResourceSetReference)) != 0)
System\Data\Services\Serializers\SyndicationDeserializer.cs (7)
201
if (property.
Kind
== ResourcePropertyKind.ResourceReference)
486
if (property != null && property.
Kind
== ResourcePropertyKind.ResourceSetReference)
504
if (property != null && property.
Kind
== ResourcePropertyKind.ResourceReference)
517
if (property.
Kind
== ResourcePropertyKind.ResourceReference)
634
if (property.
Kind
!= ResourcePropertyKind.ResourceReference)
651
if (property.
Kind
!= ResourcePropertyKind.ResourceSetReference)
668
propertySegment.ProjectedProperty.
Kind
== ResourcePropertyKind.ResourceSetReference)