1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

non-working cached repository.

This commit is contained in:
Keivan Beigi
2013-05-30 16:32:50 -07:00
parent 23e9c725f3
commit 5b2410da3f
6 changed files with 92 additions and 5 deletions
@@ -32,6 +32,7 @@ namespace NzbDrone.Core.Datastore
TModel Single();
}
public class BasicRepository<TModel> : IBasicRepository<TModel> where TModel : ModelBase, new()
{
private readonly IDatabase _database;
@@ -202,6 +203,16 @@ namespace NzbDrone.Core.Datastore
}
}
protected virtual void OnModelChanged(IEnumerable<TModel> models)
{
}
protected virtual void OnModelDeleted(IEnumerable<TModel> models)
{
}
protected virtual bool PublishModelEvents
{
get { return false; }