启动某个项目迁移:Enable-Migrations -ProjectName Data -StartUpProjectName MVCTest -ContextTypeName Data.InvoiceApplyInfo
指定迁移(降级至或升级至AddInvoiceApplyInfo迁移版本状态):Update-Database -Verbose -TargetMigration:AddInvoiceApplyInfo -ProjectName Data
建立迁移文件:Add-Migration Add_model_invoiceapplyinfo -ProjectName Data
完成迁移操作并查看执行SQL:Update-Database -Verbose -ProjectName Data