Skip to content
Snippets Groups Projects
Commit bee60b45 authored by Petar Hristov's avatar Petar Hristov :speech_balloon:
Browse files

"Date Created" and "Creator" added to the SQL2Linked

parent 7eb6f2fa
Branches
No related tags found
2 merge requests!16New: "Date Created" translation added to the SQL2Linked,!15New: "Date Created" and "Creator" translations added to the SQL2Linked
Pipeline #801771 skipped
......@@ -142,6 +142,15 @@ namespace SQL2Linked.Implementations
}
}
AssertToGraphUriNode(graph, projectGraphName, dcterms + "creator", cosc + $"users/{entry.Creator}");
Console.WriteLine($"For project '{entry.DisplayName}' will migrate triple '{projectGraphName} {dcterms}creator {cosc}users/{entry.Creator}'. ");
if (entry.DateCreated is not null && entry.DateCreated.HasValue)
{
AssertToGraphLiteralNode(graph, projectGraphName, dcterms + "created", entry.DateCreated.Value.ToString());
Console.WriteLine($"For project '{entry.DisplayName}' will migrate triple '{projectGraphName} {dcterms}created {entry.DateCreated}'. ");
}
graphs.Add(graph);
}
return graphs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment