Added persistent unique ids to all elements
This commit is contained in:
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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user