ABP 05 Creating Model and the corresponding CRUD

 

 

 

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

 

Guess you like

Origin www.cnblogs.com/guxingy/p/11809889.html