Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers an enum type as part of the model and returns an object that can be used to configure the enum.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public EnumTypeConfiguration<TEnumType> EnumType<TEnumType>()
public:
generic<typename TEnumType>
EnumTypeConfiguration<TEnumType>^ EnumType()
member EnumType<'TEnumType> : unit -> EnumTypeConfiguration<'TEnumType>
Public Function EnumType(Of TEnumType) As EnumTypeConfiguration(Of TEnumType)
Return Value
Type: System.Web.OData.Builder.EnumTypeConfiguration<TEnumType>
The configuration object for the specified enum type.
Type Parameters
- TEnumType
The enum type to be registered or configured.
See Also
ODataModelBuilder Class
System.Web.OData.Builder Namespace
Return to top