code first 创建数据库,add-migration update-database

第一步:

第二步:

原文地址:https://www.cnblogs.com/BkyeSky/p/10734984.html