mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 06:26:02 +00:00
Test merge column names
This commit is contained in:
parent
94c3677d2d
commit
57192c4712
1 changed files with 3 additions and 0 deletions
|
|
@ -710,6 +710,9 @@ namespace AideDeJeu.ViewModels
|
|||
|
||||
modelBuilder.Entity<AlignmentItem>();
|
||||
modelBuilder.Entity<GenericItem>();
|
||||
// voir https://docs.microsoft.com/fr-fr/ef/core/modeling/inheritance
|
||||
modelBuilder.Entity<MonsterItem>().Property(i => i.Family).HasColumnName("Family");
|
||||
modelBuilder.Entity<MonsterItems>().Property(i => i.Family).HasColumnName("Family");
|
||||
modelBuilder.Entity<MonsterItem>().HasIndex(i => new { i.Id, i.Family, i.Type, i.Size, i.Terrain, i.Challenge, i.XP, i.Name, i.AltNameText, i.NormalizedName, i.NormalizedAltName });
|
||||
modelBuilder.Entity<MonsterItems>();
|
||||
modelBuilder.Entity<SpellItem>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue