Add optional manual mode per translation and culture

This commit is contained in:
tsommer committed 2022-09-21 22:52:17 +02:00
1 parent 10434c553a
commit 8a4bf6f180
8 files changed
+326 -8

No files matched your search

@@ -58,6 +58,7 @@ public sealed class DataContext : DbContext, IDataContext
modelBuilder.Entity<Translation>().HasIndex(n => n.Id);
modelBuilder.Entity<Translation>().HasIndex(n => n.Culture);
modelBuilder.Entity<Translation>().HasIndex(n => n.Text);
modelBuilder.Entity<Translation>().HasIndex(n => n.TranslateManual);
modelBuilder.Entity<Translation>().Navigation(n => n.TextElement).AutoInclude();
#endregion