20 references to KeyProperties
System.Data.Services (20)
System\Data\Services\KeyInstance.cs (5)
140Debug.Assert(type.KeyProperties.Count == this.ValueCount, "type.KeyProperties.Count == this.ValueCount -- will change with containment"); 143for (int i = 0; i < type.KeyProperties.Count; i++) 145ResourceProperty property = type.KeyProperties[i]; 165for (int i = 0; i < type.KeyProperties.Count; i++) 169if (!WebConvert.TryKeyStringToPrimitive(valueText, type.KeyProperties[i].Type, out convertedValue))
System\Data\Services\Providers\BasicExpandProvider.cs (1)
952foreach (ResourceProperty keyProperty in this.BaseResourceType.KeyProperties)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
429foreach (ResourceProperty property in resourceType.KeyProperties)
System\Data\Services\Providers\ReflectionServiceProvider.cs (3)
659if (parentResourceType.KeyProperties.Count != 0) 763(parentResourceType.KeyProperties == null || parentResourceType.KeyProperties.Count == 0))
System\Data\Services\Providers\ResourceType.cs (1)
867ReadOnlyCollection<ResourceProperty> key = this.KeyProperties;
System\Data\Services\RequestQueryProcessor.cs (2)
451IEnumerable<ResourceProperty> properties = useMetadataKeyOrder ? resourceSet.ResourceType.Properties : resourceSet.ResourceType.KeyProperties; 1059IEnumerable<ResourceProperty> properties = useMetadataKeyOrder ? resourceSet.ResourceType.Properties : resourceSet.ResourceType.KeyProperties;
System\Data\Services\RequestUriProcessor.cs (4)
955if (resourceType.KeyProperties.Count != key.ValueCount) 1219Debug.Assert(resourceType.KeyProperties.Count == key.ValueCount, "resourceType.KeyProperties.Count == key.ValueCount"); 1221for (int i = 0; i < resourceType.KeyProperties.Count; i++) 1223ResourceProperty keyProperty = resourceType.KeyProperties[i];
System\Data\Services\Serializers\MetadataSerializer.cs (1)
359foreach (ResourceProperty property in entityType.KeyProperties)
System\Data\Services\Serializers\Serializer.cs (2)
389skipTokenBuilder = new SkipTokenBuilderFromProperties(lastObject, this.Provider, this.CurrentContainer.ResourceType.KeyProperties); 740IList<ResourceProperty> keyProperties = resourceType.KeyProperties;