关于[Accidental caching of Entity Framework objects and how to detect EF objects]的摘要:
In our solution we’ve had problems with accidental caching of EF objects. We have our own memory cache implementation, one for each service, that we try to keep in sync across services as the services can cache the same objects. Inconsistency in the cache can be a big problem, not to mention difficult to debug, and by caching EF objects we add to the problem as we cache relational data that might have changes somewhere else...