EF:根据实体类生成表结构SQL
根据实体类生成表结构SQL:
PM> Enable-Migrations -ProjectName Domain -StartUpProjectName Handler -Force
PM> Add-Migration Goods -ProjectName Domain -StartUpProjectName Handler
PM> Update-Database -ProjectName Domain -StartUpProjectName Handler