变更资料库 [英] Changing database

查看:75
本文介绍了变更资料库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用第一个Lightswitch应用程序并使用新的HTML表单.当我部署它时,我需要将数据库指向企业数据库服务器.我看不到在哪里更改此设置.


克雷格·伯恩森
MCSD,Visual C#MVP
INETA社区发言人
www.craigberntson.com

I'm working on my first Lightswitch application and using the new HTML forms. When I deploy this, I need to point the database to an enterprise DB server. I don't see where to change this setting.


Craig Berntson
MCSD, Visual C# MVP
INETA Community Speaker
www.craigberntson.com

推荐答案

发布应用程序时,将出现一个屏幕,您可以在其中设置数据库连接.

When you publish the application there will be a screen where you can set the database connection.

您还可以转到任何已部署的LightSwitch应用程序的根目录,并在web.config文件中更改连接设置.

You can also go to the root directory in any deployed LightSwitch application and change the connection settings in the web.config file.


这篇关于变更资料库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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