1 instantiation of SchemaEnumType
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1015SchemaEnumType enumType = new SchemaEnumType(this);
20 references to SchemaEnumType
System.Data.Entity (20)
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (2)
122if (!(property.Type is ScalarType || property.Type is SchemaEnumType) || (property.CollectionKind != CollectionKind.None)) 131if (!(property.Type is SchemaEnumType))
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (2)
208if (type is SchemaEnumType && returnTypeCollectionKind == CollectionKind.Bag) return true; 272Debug.Assert(returnType == null || returnType is ScalarType || returnType is SchemaEnumType || returnType is Relationship,
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1015SchemaEnumType enumType = new SchemaEnumType(this);
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (1)
44/// Initializes a new instance of the <see cref="SchemaEnumType"/> class.
System\Data\EntityModel\SchemaObjectModel\StructuredProperty.cs (4)
154Debug.Assert(Type is SchemaEnumType); 172if (!(element is SchemaComplexType) && !(element is ScalarType) && !(element is SchemaEnumType)) 216var schemaEnumType = this._type as SchemaEnumType;
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
274internal void ValidateEnumFacets(SchemaEnumType schemaEnumType)
System\Data\EntityModel\SchemaObjectModel\ValidationHelper.cs (3)
39var schemaEnumType = type as SchemaEnumType; 46Debug.Assert(!(type is SchemaEnumType), "Note that enums should have already been handled.");
System\Data\Metadata\Converter.cs (6)
229else if (element is Som.SchemaEnumType) 231item = ConvertToEnumType((Som.SchemaEnumType)element, newGlobalItems); 746Som.SchemaEnumType enumType = scalarType == null ? somProperty.Type as Som.SchemaEnumType : null; 1043private static EnumType ConvertToEnumType(Som.SchemaEnumType somEnumType, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 1177if (isModelFunction && type is Som.SchemaEnumType)