mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Sickrage done. Ish... So i've written all the code by looking at the API. the key there is i've looked at the api. I have not tested anything so expect this to fail.
This commit is contained in:
parent
62a3ed924b
commit
a1ee52daef
26 changed files with 731 additions and 430 deletions
|
@ -38,5 +38,7 @@ namespace Ombi.Store.Context
|
|||
EntityEntry Update(object entity);
|
||||
EntityEntry<TEntity> Update<TEntity>(TEntity entity) where TEntity : class;
|
||||
DbSet<CouchPotatoCache> CouchPotatoCache { get; set; }
|
||||
DbSet<SickRageCache> SickRageCache { get; set; }
|
||||
DbSet<SickRageEpisodeCache> SickRageEpisodeCache { get; set; }
|
||||
}
|
||||
}
|
|
@ -40,6 +40,8 @@ namespace Ombi.Store.Context
|
|||
public DbSet<Tokens> Tokens { get; set; }
|
||||
public DbSet<SonarrCache> SonarrCache { get; set; }
|
||||
public DbSet<SonarrEpisodeCache> SonarrEpisodeCache { get; set; }
|
||||
public DbSet<SickRageCache> SickRageCache { get; set; }
|
||||
public DbSet<SickRageEpisodeCache> SickRageEpisodeCache { get; set; }
|
||||
|
||||
public DbSet<ApplicationConfiguration> ApplicationConfigurations { get; set; }
|
||||
|
||||
|
|
10
src/Ombi.Store/Entities/SickRageCache.cs
Normal file
10
src/Ombi.Store/Entities/SickRageCache.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Ombi.Store.Entities
|
||||
{
|
||||
[Table("SickRageCache")]
|
||||
public class SickRageCache : Entity
|
||||
{
|
||||
public int TvDbId { get; set; }
|
||||
}
|
||||
}
|
12
src/Ombi.Store/Entities/SickRageEpisodeCache.cs
Normal file
12
src/Ombi.Store/Entities/SickRageEpisodeCache.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Ombi.Store.Entities
|
||||
{
|
||||
[Table("SickRageEpisodeCache")]
|
||||
public class SickRageEpisodeCache : Entity
|
||||
{
|
||||
public int SeasonNumber { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public int TvDbId { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue