Updated lots of stuff, got multi scrape working, need to test not-nullable chapter novel ids with our current model, now supports sqlite and postgres concurrently (and easy add more), need to get it deployed/do auth
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
18
DBConnection/Repositories/ChapterRepository.cs
Normal file
18
DBConnection/Repositories/ChapterRepository.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using DBConnection.Contexts;
|
||||
using DBConnection.Repositories.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Treestar.Shared.Models.DBDomain;
|
||||
|
||||
namespace DBConnection.Repositories;
|
||||
|
||||
public class ChapterRepository : BaseRepository<Chapter>, IChapterRepository
|
||||
{
|
||||
public ChapterRepository(AppDbContext dbContext) : base(dbContext)
|
||||
{
|
||||
}
|
||||
|
||||
protected override IQueryable<Chapter> GetAllIncludedQueryable()
|
||||
{
|
||||
return DbContext.Chapters.AsQueryable();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user