1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Swap to dapper Mk. 2

This commit is contained in:
ta264
2019-12-18 21:56:41 +00:00
committed by Qstick
parent 47f45a6275
commit f83ccb6ca4
146 changed files with 2460 additions and 2190 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
using System;
using Marr.Data;
using System.Data;
namespace NzbDrone.Core.Datastore
{
@@ -16,9 +16,9 @@ namespace NzbDrone.Core.Datastore
_database = database;
}
public IDataMapper GetDataMapper()
public IDbConnection OpenConnection()
{
return _database.GetDataMapper();
return _database.OpenConnection();
}
public Version Version => _database.Version;