Updated more models

This commit is contained in:
phoenix
2025-04-03 20:01:18 -04:00
parent 725eab7e7f
commit a091f8c9f9
16 changed files with 71 additions and 16 deletions
+8
View File
@@ -18,6 +18,14 @@ public class AlbumContext : DbContext
{
modelBuilder.Entity<Album>()
.ToTable("Album");
modelBuilder.Entity<Album>(entity =>
{
entity.HasKey(e => e.Id);
entity.Property(e => e.Id)
.HasColumnType("binary(16)");
});
}
public Album RetrieveRecord(Album album)