mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
21 lines
373 B
C#
21 lines
373 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|