更改先前设置的exisitng数据库的连接字符串 [英] change connection string of exisitng database previously set

查看:56
本文介绍了更改先前设置的exisitng数据库的连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。


 


是否可以更改项目第一步中定义的数据库连接?非常感谢

解决方案

您好,


您可以通过右键返回"数据库连接"对话框在解决方案资源管理器中单击您的DataSource并选择Update DataSource,然后在向导中单击Previous以获取连接对话框。请注意,如果您将数据库连接更改为具有不同架构的
数据库,则您已定义的任何实体都可能无效。


希望这会有所帮助,


Hello.

 

is it possibel to change te database connection defined in the first step of the project? Many thanks

解决方案

Hi,

You can get back to the Database Connection dialog by right-clicking your DataSource in Solution Explorer and choosing Update DataSource, then in the wizard click Previous to get the connection dialog. Note that if you change the database connection to a database with a different schema, any entities that you have already defined may become invalid.

Hope this helps,


这篇关于更改先前设置的exisitng数据库的连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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