不允许更改'ConnectionString'属性。连接的当前状态是打开的。 [英] Not allowed to change the 'ConnectionString' property. The connection's current state is open.

查看:659
本文介绍了不允许更改'ConnectionString'属性。连接的当前状态是打开的。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

DbContext是否会更改我现有的Connection.ConnectionString?

Do DbContext change my existing Connection.ConnectionString?

 

构建时,  DbContext,得到消息:

When Construct,  DbContext, got message:

不允许更改'ConnectionString'属性。连接的当前状态是打开的。

Not allowed to change the 'ConnectionString' property. The connection's current state is open.

推荐答案

其中的答案

我有同样的问题


这篇关于不允许更改'ConnectionString'属性。连接的当前状态是打开的。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆