Moved to .NET 7
This commit is contained in:
6 files changed
+14
-13
No files matched your search
@@ -275,9 +275,9 @@ public sealed class DataContext : DbContext, IDataContext
|
||||
if(parentId == Guid.Empty)
|
||||
{
|
||||
if(section.Depth != 0)
|
||||
Console.WriteLine(@$"Section {uniqueId} ""{section.Name}"" has no parent.");
|
||||
Console.WriteLine($"""Section {uniqueId} "{section.Name}" has no parent.""");
|
||||
else
|
||||
Console.WriteLine(@$"Section {uniqueId} ""{section.Name}"" is a root section, thus, has no parent.");
|
||||
Console.WriteLine($"""Section {uniqueId} "{section.Name}" is a root section, thus, has no parent.""");
|
||||
|
||||
section.Parent = null;
|
||||
continue;
|
||||
@@ -287,7 +287,7 @@ public sealed class DataContext : DbContext, IDataContext
|
||||
section.Parent = parent.Entity;
|
||||
else
|
||||
{
|
||||
Console.WriteLine(@$"Parent of section {uniqueId} ""{section.Name}"" was not found.");
|
||||
Console.WriteLine($"""Parent of section {uniqueId} "{section.Name}" was not found.""");
|
||||
section.Parent = null;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user