标签:ati migration 执行 ges 数据 das data dash ble
先执行:Enable-Migrations,会生成Migrations-》Configuration.cs
再执行:Add-Migrations InitialCreate – IgnoreChanges,会生成空************_InitialCreate.cs,忽略初始化
再执行:Update-database -verbose,会更新__MigrationsHistory 表
这时修改entity class的字段,再执行:Add-Migrations UpdateXXXTable
Update-database -verbose 就会更新数据库了
标签:ati migration 执行 ges 数据 das data dash ble
原文地址:https://www.cnblogs.com/itkingyw/p/13218778.html