Creates data integrity health checks

This commit is contained in:
Shannon
2020-04-07 01:02:08 +10:00
parent 50e9f79ae6
commit 4b467bf470
8 changed files with 326 additions and 3 deletions

View File

@@ -5,5 +5,16 @@
/// TODO: Start sharing the logic!
/// </summary>
public interface IContentServiceBase : IService
{ }
{
/// <summary>
/// Checks the data integrity of the node paths/levels stored in the database
/// </summary>
bool VerifyNodePaths(out int[] invalidIds);
/// <summary>
/// Fixes the data integrity of node paths/levels stored in the database
/// </summary>
void FixNodePaths();
}
}