37 references to Primitive
System.Data.Services (37)
System\Data\Services\DataService.cs (1)
1446
case ResourceTypeKind.
Primitive
:
System\Data\Services\Epm\EpmContentSerializer.cs (1)
300
case ResourceTypeKind.
Primitive
:
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (1)
167
this.property != null && this.property.ResourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
,
System\Data\Services\Providers\BaseServiceProvider.cs (1)
794
resourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)))
System\Data\Services\Providers\ObjectContextServiceProvider.cs (2)
746
Debug.Assert(property.TypeKind == ResourceTypeKind.
Primitive
, "property.TypeKind == ResourceTypeKind.Primitive");
892
if (resourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\Providers\ReflectionServiceProvider.cs (2)
652
if (resourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
861
if (resourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\Providers\ResourceProperty.cs (2)
127
if (this.ResourceType.ResourceTypeKind != ResourceTypeKind.
Primitive
)
277
if (propertyResourceType.ResourceTypeKind != ResourceTypeKind.
Primitive
)
System\Data\Services\Providers\ResourceType.cs (5)
139
if (resourceTypeKind == ResourceTypeKind.
Primitive
)
162
this.resourceTypeKind = ResourceTypeKind.
Primitive
;
788
(!deserializer.Service.Configuration.EnableTypeConversion && clientProp.ResourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
))
846
propertyType.ResourceTypeKind == ResourceTypeKind.
Primitive
,
1070
Debug.Assert(property.TypeKind == ResourceTypeKind.
Primitive
, "This check must have been done in ResourceProperty.ValidatePropertyParameters method");
System\Data\Services\Providers\ServiceOperationParameter.cs (1)
41
if (parameterType.ResourceTypeKind != ResourceTypeKind.
Primitive
)
System\Data\Services\RequestQueryProcessor.cs (1)
632
case ResourceTypeKind.
Primitive
:
System\Data\Services\RequestUriProcessor.cs (1)
1270
Debug.Assert(type.ResourceTypeKind == ResourceTypeKind.
Primitive
, "typeKind == ResourceTypeKind.Primitive");
System\Data\Services\Serializers\Deserializer.cs (3)
203
Debug.Assert(property.TypeKind == ResourceTypeKind.
Primitive
, "This method must be called for primitive types only");
787
resourceProperty.TypeKind == ResourceTypeKind.
Primitive
,
791
if (resourceProperty.TypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\Serializers\JsonDeserializer.cs (3)
394
Debug.Assert((resourceType != null && resourceType.ResourceTypeKind != ResourceTypeKind.
Primitive
) || uri != null, "Either uri or resource type must be specified");
565
else if (resourceProperty.TypeKind == ResourceTypeKind.
Primitive
)
715
if (targetType == null || targetType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\Serializers\JsonSerializer.cs (2)
588
Debug.Assert(resourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
, "resourceType.ResourceTypeKind == ResourceTypeKind.Primitive");
767
Debug.Assert(resourceType.ResourceTypeKind != ResourceTypeKind.
Primitive
, "resourceType.ResourceTypeKind == ResourceTypeKind.Primitive");
System\Data\Services\Serializers\MetadataSerializer.cs (1)
485
if (resourceProperty.TypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\Serializers\PlainXmlDeserializer.cs (2)
511
(!this.Service.Configuration.EnableTypeConversion && resourceProperty.ResourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
);
580
propertyType.ResourceTypeKind == ResourceTypeKind.
Primitive
,
System\Data\Services\Serializers\PlainXmlSerializer.cs (3)
299
Debug.Assert(property.TypeKind == ResourceTypeKind.
Primitive
, "property.TypeKind == ResourceTypeKind.Primitive");
324
if (propertyResourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
413
if (resourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\Serializers\SyndicationSerializer.cs (4)
793
foreach (ResourceProperty property in resourceType.Properties.Where(p => p.TypeKind == ResourceTypeKind.
Primitive
))
826
foreach (ResourceProperty property in resourceType.Properties.Where(p => p.TypeKind == ResourceTypeKind.
Primitive
))
901
if (propertyResourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
991
if (propertyResourceType.ResourceTypeKind == ResourceTypeKind.
Primitive
)
System\Data\Services\WebUtil.cs (1)
224
kind > ResourceTypeKind.
Primitive
)