mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
added Marr.Data.Mapping
This commit is contained in:
parent
4bb4faf626
commit
6dd56114e3
29 changed files with 208 additions and 229 deletions
21
NzbDrone.Core/Datastore/Database.cs
Normal file
21
NzbDrone.Core/Datastore/Database.cs
Normal file
|
@ -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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue