Dump an item

pull/470/head
tidusjar 9 years ago
parent c4a96e311c
commit a3c3945540

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

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

Loading…
Cancel
Save