mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
Revert "Swap to dapper and system.text.json for database backend"
This reverts commit d2065bfa1b.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using Marr.Data;
|
||||
|
||||
namespace NzbDrone.Core.Datastore
|
||||
{
|
||||
@@ -17,9 +17,9 @@ namespace NzbDrone.Core.Datastore
|
||||
_database = database;
|
||||
}
|
||||
|
||||
public IDbConnection OpenConnection()
|
||||
public IDataMapper GetDataMapper()
|
||||
{
|
||||
return _database.OpenConnection();
|
||||
return _database.GetDataMapper();
|
||||
}
|
||||
|
||||
public Version Version => _database.Version;
|
||||
|
||||
Reference in New Issue
Block a user