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