2 writes to BaseType
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (2)
340
BaseType
= element as StructuredType;
353
BaseType
= null;
32 references to BaseType
System.Data.Entity (32)
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (2)
436
for (SchemaEntityType baseType = itemType.
BaseType
as SchemaEntityType; baseType != null; baseType = baseType.
BaseType
as SchemaEntityType)
System\Data\EntityModel\SchemaObjectModel\ItemType.cs (9)
52
if (
BaseType
!= null)
54
if (!(
BaseType
is SchemaEntityType))
57
System.Data.Entity.Strings.InvalidBaseTypeForItemType(
BaseType
.FQName, FQName));
60
else if (_keyElement != null &&
BaseType
!= null)
63
System.Data.Entity.Strings.InvalidKeyKeyDefinedInBaseClass(FQName,
BaseType
.FQName));
73
else if (null ==
BaseType
&& null != UnresolvedBaseType)
141
if (
BaseType
!= null)
143
System.Diagnostics.Debug.Assert(
BaseType
is SchemaEntityType, "ItemType.BaseType is not ItemType");
144
return (
BaseType
as SchemaEntityType).KeyProperties;
System\Data\EntityModel\SchemaObjectModel\SchemaComplexType.cs (3)
43
if (
BaseType
!= null )
45
if ( !(
BaseType
is SchemaComplexType) )
48
System.Data.Entity.Strings.InvalidBaseTypeForNestedType(
BaseType
.FQName,FQName));
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (14)
92
Debug.Assert((
BaseType
== null && _unresolvedBaseType == null) ||
93
(
BaseType
!= null && _unresolvedBaseType != null), "you are checking for the hierarchy root before the basetype has been set");
96
return
BaseType
== null;
130
return
BaseType
.FindProperty(name);
146
type = type.
BaseType
;
178
if (
BaseType
!= null)
183
if(HowDefined.AsMember ==
BaseType
.DefinesMemberName(member.Name, out definingType, out definingMember))
255
return
BaseType
.DefinesMemberName(name, out definingType, out definingMember);
321
if (
BaseType
!= null)
341
if (
BaseType
== null)
409
StructuredType baseType =
BaseType
;
417
ref2 = ref2.
BaseType
;
425
ref1 = ref1.
BaseType
;
428
ref2 = ref2.
BaseType
;
System\Data\Metadata\Converter.cs (4)
350
if (element.
BaseType
!= null)
352
entityType.BaseType = (EdmType)(LoadSchemaElement(element.
BaseType
,
419
if (element.
BaseType
!= null)
421
complexType.BaseType = (EdmType)(LoadSchemaElement(element.
BaseType
,