private void loadOperationStandBook_Completed(object sender, EventArgs e) { StandBookEntityDirectory.Clear(); LoadOperation loadOperation = sender as LoadOperation; foreach (Web.Model.standbook standbook in loadOperation.Entities) { StandBookEntity lStandBookEntity = new StandBookEntity(); lStandBookEntity.StandBook = standbook; lStandBookEntity.Update(); StandBookEntityDirectory.Add(lStandBookEntity.StandBookID, lStandBookEntity); } IsBusy = false; }