1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-21 22:05:43 -04:00

Revert "Swap to dapper and system.text.json for database backend"

This reverts commit d2065bfa1b.
This commit is contained in:
Qstick
2019-12-17 21:17:47 -05:00
parent d778085ba5
commit e937d74b11
155 changed files with 2335 additions and 2328 deletions
+3 -3
View File
@@ -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;