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