将 MySQL 中的数据库更新到 LightSwitch 中的 SQL Server
我的 LS 的数据源是用 MySQL 制作的。我决定在 SQL Server 中创建相同的数据库,当我使用 LS 的“更新数据源”时,我所有的屏幕对象都消失了(文本框、标签、代码等)。
参见图片。
现在我的问题是,即使更改/更新数据源,如何保留屏幕对象? 是否可以?或者我必须重新创建我的屏幕?
I have my LS with datasource made in MySQL. I decided to create same database in SQL Server, and when I use the "Update DataSource" of LS, all of my screen objects gone (the textboxes, labels, codes, etc.).
See Image.
Now my question is, how can I retain the screen objects even I change/update my datasource?
Is it possible? Or I have to recreate my screens?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
恐怕您将不得不重新创建屏幕对象。 LightSwitch V1 无法更改“更改”屏幕的数据源和数据源。仍然保留现有的屏幕对象,也没有办法复制/粘贴屏幕元素。
抱歉,我不得不成为“坏消息”的传达者。
我们希望此类场景能够在 V2 中得到改进。
I'm afraid you're going to have to recreate your screen objects. LightSwitch V1 doesn't have the ability to change "change" a screen's data source & still keep the existing screen objects, nor does it have a way to copy/paste screen elements either.
Sorry I had to be the bearer of "bad news".
We're hoping that scenarios like this will have been improved in V2.