[Refactor] Use expression bodied lambda

This commit is contained in:
2025-07-08 17:51:43 +01:00
parent 01a2f916b9
commit 86420a4fd0
2 changed files with 2 additions and 2 deletions

View File

@@ -196,6 +196,6 @@ public sealed class Context(DbContextOptions options) : DbContext(options)
entity.HasOne(e => e.Media).WithMany(e => e.Machines).OnDelete(DeleteBehavior.Cascade);
});
modelBuilder.Entity<RomSetStat>(entity => { entity.HasOne(e => e.RomSet).WithOne(e => e.Statistics); });
modelBuilder.Entity<RomSetStat>(entity => entity.HasOne(e => e.RomSet).WithOne(e => e.Statistics));
}
}