This is a reply to Reference data as code: https://enterprisecraftsmanship.com/posts/reference-data-as-code
I recommend reading it first, because it's good and because otherwise this won't make sense to you.
TLDR; I strongly recommend replacing static readonly fields with creation methods or equivalent getters.
public class Industry : Entity
{
- public static readonly IndustryCars = new Industry(1, "Cars");