Jaa


ODataModelBuilder.EnumType<TEnumType> Method

Definition

Registers an enum type as part of the model and returns an object that can be used to configure the enum.

public Microsoft.AspNet.OData.Builder.EnumTypeConfiguration<TEnumType> EnumType<TEnumType> ();
member this.EnumType : unit -> Microsoft.AspNet.OData.Builder.EnumTypeConfiguration<'EnumType>
Public Function EnumType(Of TEnumType) () As EnumTypeConfiguration(Of TEnumType)

Type Parameters

TEnumType

The enum type to be registered or configured.

Returns

The configuration object for the specified enum type.

Applies to