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