Spelling
This commit is contained in:
parent
52b0d3af0c
commit
fb2f573de4
@ -37,7 +37,7 @@ public sealed class DataContext : DbContext
|
||||
modelBuilder.Entity<Section>().HasIndex(n => n.Name);
|
||||
modelBuilder.Entity<Section>().HasIndex(n => n.Depth);
|
||||
modelBuilder.Entity<Section>().HasIndex(n => n.DataKey);
|
||||
// modelBuilder.Entity<Section>().Navigation(n => n.Parent).AutoInclude(); // Cyclic reference, does not work, though.
|
||||
// modelBuilder.Entity<Section>().Navigation(n => n.Parent).AutoInclude(); // Cycle-reference, does not work, though.
|
||||
modelBuilder.Entity<Section>().Navigation(n => n.TextElements).AutoInclude();
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user