Radarr/NzbDrone.Core/Datastore/Database.cs

21 lines
373 B
C#
Raw Normal View History

2013-03-25 03:51:32 +00:00
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; }
}
}