Enum Types

Enumeration (enum) types are named primitive types that consist of named constants with underlying integer values.

Enum types include this data:

  • Name: The unique identifier for the enum type.
  • Binding: The mapping between the OData property and the LN field.
  • Underlying Type: The underlying type of an enum type (Edm.Int32 or Edm.Byte).
  • IsFlags: Indicates whether the underlying type of an enum is a flag (bitset). If this check box is selected, the type is Edm.Int32. If this check box is cleared, the type is Edm.Byte.

Constants

Constants are fixed, predefined values that an enum can hold.

Constants include this data:

  • Active: Indicates whether the constant is active.
  • Name: The unique identifier for the constant in the enum type.
  • Description: A textual explanation of the constant, which provides more context or details about its purpose and usage.
  • Value: A fixed value for the constant.
Note: You can add a constant in the enum type by clicking the Add Constant button.