EnumTypeConfiguration Class

 

Represents an IEdmEnumType that can be built using ODataModelBuilder.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

System::Object
  System.Web.OData.Builder::EnumTypeConfiguration

public ref class EnumTypeConfiguration : IEdmTypeConfiguration

NameDescription
System_CAPS_pubmethodEnumTypeConfiguration(ODataModelBuilder^, Type^)

Initializes a new instance of the EnumTypeConfiguration class.

NameDescription
System_CAPS_pubpropertyAddedExplicitly

Gets or sets a value that is true if the type's name or namespace was set by the user; false if it was inferred through conventions.

System_CAPS_pubpropertyClrType

Gets the backing CLR Type.

System_CAPS_protpropertyExplicitMembers

Gets the collection of explicitly added members.

System_CAPS_pubpropertyFullName

Gets the full name of this EDM type.

System_CAPS_pubpropertyIgnoredMembers

Gets the members from the backing CLR type that are to be ignored on this enum type.

System_CAPS_pubpropertyIsFlags

Gets the IsFlags of this enum type. If it is true, a combined value is equivalent to the bitwise OR of the discrete values.

System_CAPS_pubpropertyKind

Gets the EdmTypeKind of this EDM type.

System_CAPS_pubpropertyMembers

Gets all possible members(defined values) of this enum type, which will be added to the EDM model as edm:Member elements.

System_CAPS_pubpropertyModelBuilder
System_CAPS_pubpropertyName

Gets or sets the name of this EDM type.

System_CAPS_pubpropertyNamespace

Gets or sets the namespace of this EDM type.

System_CAPS_protpropertyRemovedMembers

Gets the collection of explicitly removed members.

System_CAPS_pubpropertyUnderlyingType

Gets this enum underlying Type.

NameDescription
System_CAPS_pubmethodAddMember(Enum^)

Adds an enum member to this enum type.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveMember(Enum^)

Removes the given member.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: