摘要: 1.安装NuGet程序包 Microsoft.EntityFrameworkCore.Tools Microsoft.EntityFrameworkCore.SqlServer 2.配置Program,注入 AddDbContext 单例模式 builder.Services.AddDbContex 阅读全文
posted @ 2023-07-17 00:12 microsoft-zhcn 阅读(301) 评论(1) 推荐(0)