Question and Answer

时间:2021-07-16 07:46:51

1、VS2013使用EntityFrame问题解决办法

解决办法参照博客http://pinter.org/?p=2374

使用到EntityFrame的项目配置文件修改如下:

Question and Answer

项目中凡是使用到DbContext类或者说直接与数据库通讯的类的构造函数添加如下代码

Question and Answer

2、Sql Server实例登录问题

问题:error 'Named Pipes Provider, error 40 - Could not open a connection to' SQL Server'

Answer:参考http://*.com/questions/9945409/how-do-i-fix-the-error-named-pipes-provider-error-40-could-not-open-a-connec

打开“控制面板”——>"本地服务"——>重启“SQL Server(MSSQLSERVER)”

Question and Answer

Question and Answer