EnumType Class

 

Represents an enumeration type.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)


public class EnumType : SimpleType

NameDescription
System_CAPS_pubpropertyAbstract

Gets a value indicating whether this type is abstract or not.(Inherited from EdmType.)

System_CAPS_pubpropertyBaseType

Gets the base type of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyBuiltInTypeKind

Returns the kind of the type(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyFullName

Gets the full name of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyIsFlags

Gets a value indicating whether the enum type is defined as flags (i.e. can be treated as a bit field)

System_CAPS_pubpropertyMembers

Gets a collection of enumeration members for this enumeration type.

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyName

Gets the name of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyNamespaceName

Gets the namespace of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyUnderlyingType

Gets the underlying type for this enumeration type.

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.)

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, String, PrimitiveType, Boolean, IEnumerable<EnumMember>, IEnumerable<MetadataProperty>)

Creates a read-only EnumType instance.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetCollectionType()

Returns an instance of the CollectionType whose element type is this type.(Inherited from EdmType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAnnotation(String)

Removes an annotation with the specified name.(Inherited from MetadataItem.)

System_CAPS_pubmethodToString()

Returns the full name of this type.(Inherited from EdmType.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.