src/Shared/EntityFramework/Core/SchemaObjectModel/SchemaEnumType.cs
// <summary>
// Generic handler for the EnumType element attributes
// </summary>
// <param name="reader"> Xml reader positioned on an attribute. </param>
// <c>true</c>
// if the attribute is a known attribute and was handled. Otherwise
// <c>false</c>
Generic handler for the EnumType element attributes
Generic handler for the EnumType element attributes
protected override bool HandleAttribute(XmlReader reader)
        {
            DebugCheck.NotNull(reader);
            if (!base.HandleAttribute(reader))
            {
                if (CanHandleAttribute(reader, XmlConstants.IsFlags))
                {
                    HandleBoolAttribute(reader, ref _isFlags);
                }
                else if (CanHandleAttribute(reader, XmlConstants.UnderlyingType))
                {
                    Utils.GetDottedName(Schema, reader, out _unresolvedUnderlyingTypeName);
                }
                else
                {
                    return false;
                }
            }
            return true;
        }
protected override bool HandleAttribute ( XmlReader reader ) { DebugCheck . NotNull ( reader ) ; if ( ! base . HandleAttribute ( reader ) ) { if ( CanHandleAttribute ( reader , XmlConstants . IsFlags ) ) { HandleBoolAttribute ( reader , ref _isFlags ) ; } else if ( CanHandleAttribute ( reader , XmlConstants . UnderlyingType ) ) { Utils . GetDottedName ( Schema , reader , out _unresolvedUnderlyingTypeName ) ; } else { return false ; } } return true ; }
Generic handler for the EnumType element attributes
Generic handler for the EnumType element attributes
reader
XmlReader
Xml reader positioned on an attribute.
Xml reader positioned on an attribute .
c
None
c
None