0
我正在使用.net 4.0(Visual Studio 2008)。我们使用WCF DataService,通过这个我们可以更新数据。虽然调用UpdateObject(..)方法它的工作正常,它也被更新到数据库(我手动检查数据库)。但是在检索数据时,它没有给出更新的值??????WCF DataService Data Retrieve问题
例子:
_context.UpdateObject(employee);
_context.SaveChanges();
retutn _context.Employees.Where(e => e.Code == empCode).singleOrDefault();
如何解决这个问题,我缺少什么?