Extract Database to interface

This commit is contained in:
Ske
2020-06-13 19:36:43 +02:00
parent 70df9cd893
commit 90ac186183
27 changed files with 76 additions and 54 deletions

View File

@@ -15,9 +15,9 @@ using Serilog;
namespace PluralKit.Core
{
public class PKCommand: DbCommand, IPKCommand
internal class PKCommand: DbCommand, IPKCommand
{
public NpgsqlCommand Inner { get; }
private NpgsqlCommand Inner { get; }
private readonly PKConnection _ourConnection;
private readonly ILogger _logger;