2012-06-06 116 views
0

剛剛花了很多時間尋找圍繞微軟爲Lightswitch推出的過濾器的問題的答案。Visual Studio LightSwitch的高級過濾器控件存儲過濾器在哪裏?

在解決了很多人出現的錯誤後,它仍然不保存過濾器。過濾器似乎保存沒有錯誤。過濾器名稱出現在下拉列表中,但是當我打開並關閉應用程序時,它們全部消失。

我想知道是否因爲我沒有本地數據庫,但只有遠程sql server數據庫。

這是我講的控制: 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

回答

0

會儲存在獨立存儲