mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Dump an item
This commit is contained in:
parent
c4a96e311c
commit
a3c3945540
2 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue