刚刚花了很多时间寻找微软为Lightswitch推出的过滤器问题的答案。
在解决了很多人出现的错误问题后,它仍然没有保存过滤器。 过滤器似乎保存时没有错误。 过滤器名称显示在下拉列表中,但是当我打开和关闭应用程序时,它们都消失了。
我想知道这是否是因为我没有本地数据库,而只有一个远程sql服务器数据库。
这是我正在谈论的控件:http://code.msdn.microsoft.com/silverlight/Filter-Control-for-Visual-90fb8e93
起初它在保存时抛出以下错误,但我通过公开方法克服了它。
error in FilterControl: the data contract type "lightswitchfilter.Client.FilterControls.Clause" cannot be serialized because the member "_clauseType" is not public.
http://social.msdn.microsoft.com/Forums/en-US/lsextensibility/thread/322b0220-04a4-4c2d-bc7d-5fee9b14ab2f
IT 存储在独立存储中