我有以下代碼:WCF RIA:LoadOperation不刷新數據
LoadOperation<Clarifications> ClarificationsLP = context.Load(context.GetClearificationsQuery().Where(o => o.ProjectID == ((App)Application.Current).Project.ProjectID).OrderBy(o => o.RaisedOn));
ClearificationsLP.Completed += delegate {//Stuff };
當我執行該語句的第二次,它不拿起從數據庫中新的變化?
任何想法?
感謝,
裏克
你是否試圖在Load上指定LoadBehavior? – Jehof
不,我該怎麼做? – RickSarvos23