diff --git a/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs b/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs index 847fb2a5e..1fe430a56 100644 --- a/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs +++ b/PlexRequests.Services/Jobs/PlexEpisodeCacher.cs @@ -129,6 +129,8 @@ namespace PlexRequests.Services.Jobs // Delete all of the current items Repo.DeleteAll(TableName); + Log.Debug("Inserting The following (1st item)"); + Log.Debug(entities.FirstOrDefault().DumpJson()); // Insert the new items var result = Repo.BatchInsert(entities, TableName, typeof(PlexEpisodes).GetPropertyNames()); diff --git a/PlexRequests.Store/Repository/BaseGenericRepository.cs b/PlexRequests.Store/Repository/BaseGenericRepository.cs index 82c2a52e2..1619f37dd 100644 --- a/PlexRequests.Store/Repository/BaseGenericRepository.cs +++ b/PlexRequests.Store/Repository/BaseGenericRepository.cs @@ -27,6 +27,7 @@ using System; using System.Collections.Generic; using System.Data; +using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks;