'Using annotations to flow information from model building to migrations in EF Core

For EF Core. Related to this issue on the repo.

How do I "flow information" from the model building to the migrations stages in EF Core?

That issue was discussed among the authors who obviously fully understand the internals of EF Core, but I don't. How do I implement this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source