最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

entity

互联网 admin 10浏览 0评论

entity

// 出现此错
scaffold-dbcontext : The term 'scaffold-dbcontext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
//解决办法 包管理器控制台中添加如下几个包
Microsoft.EntityFrameworkCore.Design
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.SqlServer
Scaffold-DbContext -Connection "Server=xxxxxx0001;Database=xxxxxx;Integrated Security=SSPI;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models\DemoDB -force

core 连接数据库(通过数据库生成Modell) - Royal丶鬼才 - 博客园 (cnblogs)

entity

// 出现此错
scaffold-dbcontext : The term 'scaffold-dbcontext' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
//解决办法 包管理器控制台中添加如下几个包
Microsoft.EntityFrameworkCore.Design
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.SqlServer
Scaffold-DbContext -Connection "Server=xxxxxx0001;Database=xxxxxx;Integrated Security=SSPI;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models\DemoDB -force

core 连接数据库(通过数据库生成Modell) - Royal丶鬼才 - 博客园 (cnblogs)

发布评论

评论列表 (0)

  1. 暂无评论