Skip to content

Store Enum Value as String #813

@lommez

Description

@lommez

I have a simple enum just like this:

public enum Foo
{
  First,
  Second,
  Third
}

When saving in the dabase, the value are stored as the indexed position of the enum value.
Is possible to store an enum property as string in the database?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions