Example project showing how to extend Entity Framework Core to output Include statements in code first migrations.
See this blog post: https://mindbyte.nl/2017/12/26/Create-indexes-with-included-columns-with-Entity-Framework-Core-using-code-first.html
NOTE: See #2 as this functionality is included in EF 2.2 and 3.1