EFCore自動遷移 SegmentFault部落格 2019-05-15 00:04:28 EFCore自動遷移 2019/05/14,EFCore 2.2.4 有兩種方式: 1.使用Migrate()方法 if (DbContext.Database.GetPendingMigrat