Added persistent unique ids to all elements

This commit is contained in:
tsommer committed 2022-11-06 21:07:41 +01:00
1 parent abb533f75b
commit c2c8a36ad2
10 files changed
+334 -1

No files matched your search

@@ -6,6 +6,8 @@ public sealed class Section
{
[Key]
public int Id { get; set; }
public Guid UniqueId { get; set; }
public string Name { get; set; } = string.Empty;
@@ -7,6 +7,8 @@ public sealed class Setting
[Key]
public int Id { get; set; }
public Guid UniqueId { get; set; }
public string Code { get; set; } = string.Empty;
public string TextValue { get; set; } = string.Empty;
@@ -6,6 +6,8 @@ public sealed class TextElement
{
[Key]
public int Id { get; set; }
public Guid UniqueId { get; set; }
public string Name { get; set; } = string.Empty;
@@ -3,6 +3,8 @@
public sealed class Translation
{
public int Id { get; set; }
public Guid UniqueId { get; set; }
public TextElement TextElement { get; set; }