摘要: 数据模型:DDD领域驱动模型 -->标记 后续进行学习 比较流行的数据持久化模式:repository仓储模式 Models文件夹存放与数据有关的代码 注: 1.无论是put patch get post ,都不能直接接触到模型数据,必须创建响应的Dto模型; 2.当我们进行Put更新的时候,要记得 阅读全文
posted @ 2021-04-25 11:58 李花花小番茄 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 连接字符串中添加Initial Catalog=XieChengDB 初始化数据库的名称 { "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetim 阅读全文
posted @ 2021-04-25 11:43 李花花小番茄 阅读(309) 评论(0) 推荐(0) 编辑