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