silverlight 4 RIA update item in domaindatasource only updates after refresh
问题 I have created a silverlight app and have a listbox that is populated using a domaindatasource. I have created a button that takes the selected list item and updates a field (in my case its called IsDeleted) my domain service looks like this public IQueryable<Employee> GetEmployees(int storeID) { return this.ObjectContext.Employees.Where(e=>(e.StoreID==storeID)&&(e.IsDeleted==false)); } In my button event I am doing this EmployeeRecord.IsDeleted = true; dsEmployee.SubmitChanges(); The