唯一索引-在LightSwitch 2013 RTM Silverlight中不起作用 [英] Unique Index - not working in LightSwitch 2013 RTM Silverlight

查看:104
本文介绍了唯一索引-在LightSwitch 2013 RTM Silverlight中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Unique Index在LS 2012中起作用,而在LS 2013中不再起作用.某些变化已经改变.

Unique Index was working in LS 2012 and not any more in LS 2013. Something mush have changed.

我有一个表,其中有一个由四个字段组成的唯一索引.

I have a table where it has a unique index made of four fields.

每个字段中的包含在唯一索引中"勾选.

Each of these fields has "Include in Unique Index" ticked.

新的LS 2013将不再编译,因为它表明存在某些数据问题.

The new LS 2013 will not compile anymore saying that there are some data issues.

当我删除记录时,它就可以编译了.

When I removed the records, then it compiles ok.

我暂时决定删除此索引以进行编译.

Temporarily I decided to remove this index to have it compiled.

有人共享同一问题吗?

推荐答案

看起来工作正常. VS2013 RTM似乎在数据库表上强制创建了一个CREATE UNIQUE INDEX. VS2012和更早版本是否不对现有数据强制执行数据完整性?
It looks to be working fine. VS2013 RTM seems to force a CREATE UNIQUE INDEX on the database table. Was VS2012 and earlier not enforcing data integrity onto existing data?


这篇关于唯一索引-在LightSwitch 2013 RTM Silverlight中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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