Add a model in the core layer, as shown in
2, was added in the Menu DbContext EntityFrameworkCore layer
3, compiled about ready to migrate to the new Model database
Open the Package Manager console, select the default item ***. EntityFrameworkCore
Execute the statement:
(1)Add-Migration add_Menu
(2)Update-Database -Verbose