Represents an IEdmEnumType that can be built using ODataModelBuilder.
Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
  System.Web.OData.Builder.EnumTypeConfiguration
Syntax
public class EnumTypeConfiguration : IEdmTypeConfiguration
public ref class EnumTypeConfiguration : IEdmTypeConfiguration
type EnumTypeConfiguration = 
    class
        interface IEdmTypeConfiguration
    end
Public Class EnumTypeConfiguration
    Implements IEdmTypeConfiguration
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | EnumTypeConfiguration(ODataModelBuilder, Type) | Initializes a new instance of the EnumTypeConfiguration class. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | AddedExplicitly | 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. | 
| .jpeg) | ClrType | Gets the backing CLR Type. | 
| .jpeg) | ExplicitMembers | Gets the collection of explicitly added members. | 
| .jpeg) | FullName | Gets the full name of this EDM type. | 
| .jpeg) | IgnoredMembers | Gets the members from the backing CLR type that are to be ignored on this enum type. | 
| .jpeg) | IsFlags | Gets the IsFlags of this enum type. If it is true, a combined value is equivalent to the bitwise OR of the discrete values. | 
| .jpeg) | Kind | Gets the EdmTypeKind of this EDM type. | 
| .jpeg) | Members | Gets all possible members(defined values) of this enum type, which will be added to the EDM model as edm:Member elements. | 
| .jpeg) | ModelBuilder | Get the ODataModelBuilder. | 
| .jpeg) | Name | Gets or sets the name of this EDM type. | 
| .jpeg) | Namespace | Gets or sets the namespace of this EDM type. | 
| .jpeg) | RemovedMembers | Gets the collection of explicitly removed members. | 
| .jpeg) | UnderlyingType | Gets this enum underlying Type. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | AddMember(Enum) | Adds an enum member to this enum type. | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | RemoveMember(Enum) | Removes the given member. | 
| .jpeg) | ToString() | (Inherited from Object.) | 
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.OData.Builder Namespace
Return to top