mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 22:11:10 +00:00
Formats code comments as sentences in the production sources.
Capitalizes the first word and adds the terminal period across the domain, application, data access, infrastructure, API and web layers and the plugins. No comment is reworded. The change also normalizes the TODO bodies to lowercase, leaves commented-out code untouched, corrects the Threat/Treat typo and the dangling hyphen in the exception middleware, and collapses two accidental repeated terminal periods.
This commit is contained in:
1 parent
88455fec9c
commit
727aa33318
142 files changed
+403
-403
No files matched your search
+2
-2
@@ -20,7 +20,7 @@ public class MusicLibraryScanItemMetadataConfiguration : IEntityTypeConfiguratio
|
||||
builder.ToTable("MusicLibraryScanItemMetadata");
|
||||
builder.HasKey(musicMetadata => musicMetadata.Id);
|
||||
builder.Property(musicMetadata => musicMetadata.Id)
|
||||
.ValueGeneratedNever() // because EF always tries to generate the value for the Id, and because we generate it as part of the aggregate root, we need to tell EF not to generate it
|
||||
.ValueGeneratedNever() // Because EF always tries to generate the value for the Id, and because we generate it as part of the aggregate root, we need to tell EF not to generate it.
|
||||
.HasColumnOrder(0);
|
||||
builder.Property(musicMetadata => musicMetadata.LibraryScanId)
|
||||
.IsRequired()
|
||||
@@ -103,6 +103,6 @@ public class MusicLibraryScanItemMetadataConfiguration : IEntityTypeConfiguratio
|
||||
.HasColumnOrder(31);
|
||||
|
||||
builder.HasIndex(musicMetadata => new { musicMetadata.LibraryScanId, musicMetadata.Path })
|
||||
.IsUnique(); // the metadata of the same physical file cannot be staged twice during the same scan
|
||||
.IsUnique(); // The metadata of the same physical file cannot be staged twice during the same scan.
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user