mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
added Marr.Data.Mapping
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Marr.Data;
|
||||
|
||||
namespace NzbDrone.Core.Datastore
|
||||
{
|
||||
public interface IDatabase
|
||||
{
|
||||
IDataMapper DataMapper { get; }
|
||||
}
|
||||
|
||||
public class Database : IDatabase
|
||||
{
|
||||
|
||||
public Database(IDataMapper dataMapper)
|
||||
{
|
||||
DataMapper = dataMapper;
|
||||
}
|
||||
|
||||
public IDataMapper DataMapper { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user