mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
added siaqodb
This commit is contained in:
parent
c55099ce5a
commit
e44d262a1a
29 changed files with 761 additions and 553 deletions
|
@ -1,7 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using Eloquera.Client;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using NzbDrone.Core.Repository;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using System.Linq;
|
||||
|
||||
namespace NzbDrone.Core.RootFolders
|
||||
|
@ -14,15 +11,15 @@ namespace NzbDrone.Core.RootFolders
|
|||
//This way we only need to implement none_custom methods for repos, like custom queries etc... rest is done automagically.
|
||||
public class RootFolderRepository : BasicRepository<RootFolder>, IRootFolderRepository
|
||||
{
|
||||
public RootFolderRepository(EloqueraDb eloqueraDb)
|
||||
: base(eloqueraDb)
|
||||
public RootFolderRepository(IObjectDatabase objectDatabase)
|
||||
: base(objectDatabase)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public RootFolder Add(RootFolder rootFolder)
|
||||
{
|
||||
return EloqueraDb.Insert(rootFolder);
|
||||
return ObjectDatabase.Insert(rootFolder);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue