43 references to ComplexType
System.Data.Services (43)
System\Data\Services\DataService.cs (2)
1435
case ResourceTypeKind.
ComplexType
:
1532
if (openTypeParentResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
System\Data\Services\DataServiceConfiguration.cs (1)
455
if (resourceType.ResourceTypeKind != ResourceTypeKind.
ComplexType
)
System\Data\Services\Epm\EpmContentSerializer.cs (1)
268
case ResourceTypeKind.
ComplexType
:
System\Data\Services\Providers\BaseServiceProvider.cs (1)
793
(resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
||
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
367
Debug.Assert(resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
, "resourceType.ResourceTypeKind == ResourceTypeKind.ComplexType - expecting a complex type");
452
else if (resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
1346
ResourceTypeKind resourceTypeKind = cspaceType.BuiltInTypeKind == BuiltInTypeKind.EntityType ? ResourceTypeKind.EntityType : ResourceTypeKind.
ComplexType
;
2744
if (property.ResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
2778
if (resultType != null && resultType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
System\Data\Services\Providers\ReflectionServiceProvider.cs (4)
683
else if (resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
698
if (resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
715
(resourceType.ResourceTypeKind == ResourceTypeKind.EntityType && parentResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
))
797
resourceType = ReflectionServiceProvider.CreateResourceType(type, ResourceTypeKind.
ComplexType
, null, knownTypes, childTypes);
System\Data\Services\Providers\ResourceProperty.cs (1)
285
if (propertyResourceType.ResourceTypeKind != ResourceTypeKind.
ComplexType
)
System\Data\Services\Providers\ResourceType.cs (3)
403
if (this.resourceTypeKind == ResourceTypeKind.
ComplexType
&& value == true)
658
if (this.BaseType.IsOpenType && this.ResourceTypeKind != ResourceTypeKind.
ComplexType
)
822
case ResourceTypeKind.
ComplexType
:
System\Data\Services\RequestQueryProcessor.cs (1)
640
case ResourceTypeKind.
ComplexType
:
System\Data\Services\RequestUriProcessor.cs (1)
1265
case ResourceTypeKind.
ComplexType
:
System\Data\Services\Serializers\Deserializer.cs (2)
786
resourceProperty.TypeKind == ResourceTypeKind.
ComplexType
||
1105
if (WebUtil.GetNonPrimitiveResourceType(provider, requestValue).ResourceTypeKind == ResourceTypeKind.
ComplexType
)
System\Data\Services\Serializers\JsonDeserializer.cs (5)
380
targetResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
|| targetResourceType.ResourceTypeKind == ResourceTypeKind.EntityType,
403
if ((resourceType != null && resourceType.ResourceTypeKind != ResourceTypeKind.
ComplexType
) ||
464
if (resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
557
else if (resourceProperty.TypeKind == ResourceTypeKind.
ComplexType
)
649
if (openPropertyResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
System\Data\Services\Serializers\JsonSerializer.cs (3)
391
Debug.Assert(uriPath != null || resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
, "uri can be null for complex types");
552
case ResourceTypeKind.
ComplexType
:
637
Debug.Assert(resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
, "resource must be complex type");
System\Data\Services\Serializers\MetadataSerializer.cs (4)
299
Debug.Assert(ResourceTypeKind.
ComplexType
== type.ResourceTypeKind, "this must be a complex type");
446
Debug.Assert(complexType.ResourceTypeKind == ResourceTypeKind.
ComplexType
, "Type must be complexType");
979
if (property.ResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
1187
if (resultType != null && resultType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
534
case ResourceTypeKind.
ComplexType
:
System\Data\Services\Serializers\PlainXmlSerializer.cs (4)
293
if (property.TypeKind == ResourceTypeKind.
ComplexType
)
330
if (propertyResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
374
Debug.Assert(expectedType.ResourceTypeKind == ResourceTypeKind.
ComplexType
, "Must be complex type");
420
resourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
,
System\Data\Services\Serializers\SyndicationSerializer.cs (4)
407
Debug.Assert(expectedType.ResourceTypeKind == ResourceTypeKind.
ComplexType
, "Must be complex type");
851
if (property.TypeKind == ResourceTypeKind.
ComplexType
)
912
if (propertyResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)
1005
else if (propertyResourceType.ResourceTypeKind == ResourceTypeKind.
ComplexType
)