10 2023 档案

摘要:建立DTO物件 创建名为Dtos文件夹, 并添加TodoListSelectDto文件 public class TodoListSelectDto { public Guid TodoId { get; set; } public string Name { get; set; } = null! 阅读全文
posted @ 2023-10-10 11:29 胸怀丶若谷 阅读(89) 评论(0) 推荐(0) 编辑
摘要:备注 关于数据库的创建,可参考下方的链接,去创建测试环境,我已经有现成的数据库,故不再记录创建数据库的过程。 实现步骤 安装EF工具 dotnet tool install --global dotnet-ef 安装其他依赖 dotnet add package Npgsql.EntityFrame 阅读全文
posted @ 2023-10-09 13:43 胸怀丶若谷 阅读(715) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示