title: How to create a table corresponding to enum in EF Core Code First?
body: <p>How would one turn the enums used in an EF Core database context into lookup tables and add the relevant foreign keys?</p>
  
  <hr>
  
  <ul>
  <li>Same as <a href="https://stackoverflow.com/q/11167665/10245">EF5 Code First Enums and Lookup Tables</a> but for EF Core instead of EF 6</li>
  <li>Related to <a href="https://stackoverflow.com/q/44262314/10245">How can I make EF Core database first use Enums?</a></li>
  </ul>