Глобальный рефакторинг пространств имён

This commit is contained in:
2025-10-02 13:29:30 +04:00
parent d23d81fb53
commit 2fa94851cb
3176 changed files with 27146 additions and 30584 deletions
@@ -0,0 +1,17 @@
using Pf2e.Scrapper.Processors.Attributes;
using Pf2e.Scrapper.Processors.Definitions;
using Pf2e.Database;
namespace Pf2e.Scrapper.Processors.General;
[Processor("truncate", Description = "Отчистка таблиц БД", Group = ProcessorGroupEnum.General)]
internal class DatabaseTruncateProcessor : IProcessor
{
public void Process()
{
using Pf2eDbContext context = new();
string _ = context.Entities.Truncate() + "\n" + context.TruncateAll();
}
public void Save() { }
}