Extracted some pages to their own assembly and finished the artifact display page code

This commit is contained in:
Vincent Allen
2025-10-08 13:08:12 -04:00
parent fd0e6290fe
commit 02c2660b09
626 changed files with 39989 additions and 1553 deletions

View File

@@ -57,6 +57,11 @@ public class ApplicationDbContext(DbContextOptions<ApplicationDbContext> options
.HasForeignKey(entry => entry.ArtifactGroupingId)
.OnDelete(DeleteBehavior.Cascade);
modelBuilder.Entity<ArtifactEntry>()
.HasMany(entry => entry.Files)
.WithOne(file => file.ParentArtifactEntry)
.OnDelete(DeleteBehavior.Cascade);
modelBuilder.Entity<ArtifactGrouping>()
.Navigation(g => g.IdentifierFields)
.UsePropertyAccessMode(PropertyAccessMode.Field);