Fixed offset bug in GetCachedPagePath for if you've read just one page. Fixed a bad refactor for getting files.
This commit is contained in:
parent
14e8c3b820
commit
c75feb03e1
5 changed files with 26 additions and 19 deletions
|
@ -40,10 +40,10 @@ namespace API.Data
|
|||
.HasForeignKey(ur => ur.RoleId)
|
||||
.IsRequired();
|
||||
// AppUsers have Libraries, not other way around
|
||||
builder.Entity<Library>()
|
||||
.HasMany(p => p.AppUsers)
|
||||
.WithMany(p => p.Libraries)
|
||||
.UsingEntity(j => j.ToTable("AppUserLibrary"));
|
||||
// builder.Entity<Library>()
|
||||
// .HasMany(p => p.AppUsers)
|
||||
// .WithMany(p => p.Libraries)
|
||||
// .UsingEntity(j => j.ToTable("AppUserLibrary"));
|
||||
}
|
||||
|
||||
void OnEntityTracked(object sender, EntityTrackedEventArgs e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue