protected override void OnModelCreating(ModelBuilder modelBuilder) { EnumBasedEntityConfigurator <Superhero, ComicEditorCatalogue> .Register(modelBuilder, superhero => superhero.ComicEditor, "_comicEditorId", superhero => superhero.ComicEditorCatalogue); }