添加实体之后要打开程序包管理设置,输入enable-migrations迁移数据,add-migration 'createBlog' 创建Blog, updata-database更新数据库
创建接口IDAL
实现接口