src/Misc/EFTools/EntityDesignModel/Entity/ConceptualProperty.cs
/// <summary>
///     Change the property type to an enum type.
/// </summary>
/// <param name="typeName"></param>
Change the property type to an enum type.
Change the property type to an enum type .
public void ChangePropertyType(EnumType enumType)
        {
            Debug.Assert(enumType != null, "typeName parameter value is null");
            if (enumType != null)
            {
                ClearEFObject(_typeAttrForPrimitiveType);
                _typeAttrForPrimitiveType = null;
                EnumTypeAttribute.SetRefName(enumType);
                EnumTypeAttribute.Rebind();
            }
        }
public void ChangePropertyType ( EnumType enumType ) { Debug . Assert ( enumType != null , " " ) ; if ( enumType != null ) { ClearEFObject ( _typeAttrForPrimitiveType ) ; _typeAttrForPrimitiveType = null ; EnumTypeAttribute . SetRefName ( enumType ) ; EnumTypeAttribute . Rebind ( ) ; } }
Change the property type to an enum type.
Change the property type to an enum type .
enumType
EnumType
typeName
None