第一步:在Model中添加字段信息(如Rating).
第二步:From the Tools menu, select NuGet Package Manager > Package Manager Console. In the PMC, enter the following commands:
Add-Migration Rating
Update-Database
第一步:在Model中添加字段信息(如Rating).
第二步:From the Tools menu, select NuGet Package Manager > Package Manager Console. In the PMC, enter the following commands:
Add-Migration Rating
Update-Database