Need to work out why the cacher is not working and where the datatype mismatch is

This commit is contained in:
tidusjar 2016-08-05 12:53:06 +01:00
commit f60e880da5
2 changed files with 7 additions and 9 deletions

View file

@ -127,10 +127,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());
Repo.DeleteAll(TableName);
// TODO Fix the datatype mismatch...
// Insert the new items
var result = Repo.BatchInsert(entities, TableName, typeof(PlexEpisodes).GetPropertyNames());