我不确定在我的存储库模式中应该在哪里实现缓存.
我应该在服务逻辑中还是在存储库中实现它?
GUI - > BusinessLogic(服务) - > DataAccess(存储库)
caching repository-pattern
caching ×1
repository-pattern ×1