mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-29 11:05:44 +00:00
21 lines
No EOL
373 B
C#
21 lines
No EOL
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; }
|
|
}
|
|
} |