From d1adae15381b9a31ec6d5e42da1fcad8ad3709ea Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sat, 19 Mar 2016 15:57:39 +0000 Subject: [PATCH] When we do a batch update we need to reset the cache --- PlexRequests.Store/Repository/RequestJsonRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlexRequests.Store/Repository/RequestJsonRepository.cs b/PlexRequests.Store/Repository/RequestJsonRepository.cs index cacd2356e..d02a111b0 100644 --- a/PlexRequests.Store/Repository/RequestJsonRepository.cs +++ b/PlexRequests.Store/Repository/RequestJsonRepository.cs @@ -112,8 +112,8 @@ namespace PlexRequests.Store.Repository public bool UpdateAll(IEnumerable entity) { + ResetCache(); var result = new HashSet(); - using (var db = Db.DbConnection()) { db.Open();