03 2020 档案
摘要:System.ArgumentException HResult=0x80070057 Message=AddDbContext was called with configuration, but the context type 'MyDBContext' only declares a par
阅读全文
摘要:执行以下sql INSERT INTO [Country] VALUES (1, N'中国', N'China', N'CN'); 提示错误 仅当使用了列列表并且 IDENTITY_INSERT 为 ON 时,才能为表'xxxx'中的标识列指定显式值 解决方法: 在执行sql前后分别加:SET ID
阅读全文
摘要:sql server 2008 r2 连接远程数据库,提示 索引超出了数组界限(Microsoft.SqlServer.Smo) 由于SQL 2008 R2版本过低 安装以下补丁即可 SP1:http://www.microsoft.com/zh-cn/download/details.aspx?i
阅读全文
摘要:1.add-migration : 无法将“add-migration”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。 使用Entity Framework Core命令 add-migration manage 出现以下错误
阅读全文
摘要:npm run dev 项目,提示 throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') 根据提示删除electron
阅读全文