Dump an item

This commit is contained in:
tidusjar 2016-08-05 12:35:17 +01:00
commit a3c3945540
2 changed files with 3 additions and 0 deletions

View file

@ -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());

View file

@ -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;