Extract Database to interface
This commit is contained in:
@@ -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;
|
||||
|
@@ -15,7 +15,7 @@ using Serilog;
|
||||
|
||||
namespace PluralKit.Core
|
||||
{
|
||||
public class PKConnection: DbConnection, IPKConnection
|
||||
internal class PKConnection: DbConnection, IPKConnection
|
||||
{
|
||||
public NpgsqlConnection Inner { get; }
|
||||
public Guid ConnectionId { get; }
|
||||
|
@@ -8,7 +8,7 @@ using Npgsql;
|
||||
|
||||
namespace PluralKit.Core
|
||||
{
|
||||
public class PKTransaction: DbTransaction, IPKTransaction
|
||||
internal class PKTransaction: DbTransaction, IPKTransaction
|
||||
{
|
||||
public NpgsqlTransaction Inner { get; }
|
||||
|
||||
|
Reference in New Issue
Block a user