42 references to BaseType
System.Data.Services (42)
System\Data\Services\Providers\DataServiceProviderWrapper.cs (2)
712
resourceType = resourceType.
BaseType
;
765
resourceType = resourceType.
BaseType
;
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
2089
if (baseResourceType.
BaseType
!= null)
2091
this.GetEpmInfoForResourceType(workspace, baseResourceType.
BaseType
, descendentResourceType);
2214
return baseResourceType.
BaseType
!= null ? this.GetResourcePropertyFromEpmPath(baseResourceType.
BaseType
, sourcePath) : null;
2769
resourceType = resourceType.
BaseType
;
System\Data\Services\Providers\ReflectionServiceProvider.cs (4)
606
if (parentResourceType.
BaseType
!= null)
655
if (parentResourceType.
BaseType
== null && parentResourceType.ResourceTypeKind == ResourceTypeKind.EntityType && IsPropertyKeyProperty(property, out currentKeyKind))
846
if (resourceType.
BaseType
== null &&
918
bool inherit = resourceType.
BaseType
== null;
System\Data\Services\Providers\ResourceType.cs (21)
309
while (rootType.
BaseType
!= null)
311
rootType = rootType.
BaseType
;
483
this.basesHaveEpmInfo = this.
BaseType
!= null ? this.
BaseType
.HasEntityPropertyMappings : false;
653
if (this.
BaseType
!= null)
655
this.
BaseType
.SetReadOnly();
658
if (this.
BaseType
.IsOpenType && this.ResourceTypeKind != ResourceTypeKind.ComplexType)
664
if (this.
BaseType
.IsMediaLinkEntry)
670
if (!this.
BaseType
.CanReflectOnInstanceType)
702
if (currentResourceType.
BaseType
!= null)
704
this.BuildReflectionEpmInfo(currentResourceType.
BaseType
);
707
foreach (EntityPropertyMappingAttribute epmAttr in currentResourceType.InstanceType.GetCustomAttributes(typeof(EntityPropertyMappingAttribute), currentResourceType.
BaseType
!= null ? false : true))
870
Debug.Assert(this.
BaseType
== null, "BaseType must be null");
910
superType = superType.
BaseType
;
932
resourceType = resourceType.
BaseType
;
1019
if (this.
BaseType
!= null)
1021
allProps.AddRange(this.
BaseType
.Properties);
1128
if (currentResourceType.
BaseType
!= null)
1130
this.BuildDynamicEpmInfo(currentResourceType.
BaseType
);
1212
if (this.
BaseType
!= null)
1216
foreach (ResourceProperty rp in this.
BaseType
.Properties)
System\Data\Services\Serializers\MetadataSerializer.cs (8)
331
if (entityType.
BaseType
== null || entityType.
BaseType
.IsOpenType == false)
339
if (entityType.IsMediaLinkEntry && (entityType.
BaseType
== null || entityType.
BaseType
.IsMediaLinkEntry == false))
352
if (entityType.
BaseType
!= null)
354
xmlWriter.WriteAttributeString(XmlConstants.BaseType, XmlConvert.EncodeName(entityType.
BaseType
.FullName));
1006
resourceType = resourceType.
BaseType
;
1176
resourceType = resourceType.
BaseType
;
System\Data\Services\WebUtil.cs (2)
713
while (resourceType.
BaseType
!= null)
715
resourceType = resourceType.
BaseType
;