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