简体   繁体   English

是否存在实体框架6+的2级缓存不更新整个实体?

[英]Is exists level 2 cache for Entity Framework 6+ not updating whole entity?

All level 2 cache libraries i found clears entity (invalidate entity) in cache when updating / deleting.Then when i call some view that use entity, it call DB for whole table. 我发现所有的2级缓存库在更新/删除时都会清除缓存中的实体(无效实体)。然后,当我调用某个使用实体的视图时,它将为整个表调用DB。 So, is there a cache for Entity Framework 6+ not deleting whole entity from cache? 那么,是否存在用于Entity Framework 6+的缓存,而不是从缓存中删除整个实体?

Disclaimer : I'm the owner of the project Entity Framework Plus 免责声明 :我是Entity Framework Plus项目的所有者

Our Query Cache http://entityframework-plus.net/query-cache doesn't invalidate or update the whole entity. 我们的查询缓存http://entityframework-plus.net/query-cache不会使整个实体失效或更新。

Our feature simple cache the result into the Memory Cache and that's all! 我们的功能简单地将结果缓存到内存缓存中,仅此而已!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM