Added a multi-line state to the text elements
This commit is contained in:
13 files changed
+361
-29
No files matched your search
@@ -47,6 +47,7 @@ public sealed class DataContext : DbContext, IDataContext
|
||||
modelBuilder.Entity<TextElement>().HasIndex(n => n.Id);
|
||||
modelBuilder.Entity<TextElement>().HasIndex(n => n.Code);
|
||||
modelBuilder.Entity<TextElement>().HasIndex(n => n.Name);
|
||||
modelBuilder.Entity<TextElement>().HasIndex(n => n.IsMultiLine);
|
||||
modelBuilder.Entity<TextElement>().Navigation(n => n.Section).AutoInclude();
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -11,6 +11,8 @@ public sealed class TextElement
|
||||
|
||||
public string Code { get; set; } = string.Empty;
|
||||
|
||||
public bool IsMultiLine { get; set; } = false;
|
||||
|
||||
public Section Section { get; set; }
|
||||
|
||||
public List<Translation> Translations { get; set; } = new();
|
||||
|
||||
Reference in new issue
Block a user