4 references to UnderlyingType
System.Data.Entity (4)
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (2)
219
var enumUnderlyingType =
UnderlyingType
as ScalarType;
239
System.Data.Entity.Strings.EnumMemberValueOutOfItsUnderylingTypeRange(invalidEnumMember.Value, invalidEnumMember.Name,
UnderlyingType
.Name));
System\Data\Metadata\Converter.cs (2)
1047
Debug.Assert(somEnumType.
UnderlyingType
is Som.ScalarType, "At this point the underlying type should have already been validated and should be ScalarType");
1049
Som.ScalarType enumUnderlyingType = (Som.ScalarType)somEnumType.
UnderlyingType
;