From 4f169884606e6a38168588b82a6e425c2d1cc8e5 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 17 Sep 2022 21:46:48 +0200 Subject: [PATCH] Added missed navigation for translations --- I18N Commander/DataModel/Database/Common/DataContext.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/I18N Commander/DataModel/Database/Common/DataContext.cs b/I18N Commander/DataModel/Database/Common/DataContext.cs index cc5bb23..40e0453 100644 --- a/I18N Commander/DataModel/Database/Common/DataContext.cs +++ b/I18N Commander/DataModel/Database/Common/DataContext.cs @@ -49,6 +49,7 @@ public sealed class DataContext : DbContext, IDataContext modelBuilder.Entity().HasIndex(n => n.Name); modelBuilder.Entity().HasIndex(n => n.IsMultiLine); modelBuilder.Entity().Navigation(n => n.Section).AutoInclude(); + modelBuilder.Entity().Navigation(n => n.Translations).AutoInclude(); #endregion