Убрать неиспользуемые using по код-стайлу

Прогон dotnet format (IDE0005) по 4 решениям: удалены лишние using,
оставшиеся после миграции namespace (676 файлов).
This commit is contained in:
Rustam Khalimov
2026-09-11 13:30:57 +03:00
parent 5bfa92a4ac
commit e8b9fab860
675 changed files with 47248 additions and 49911 deletions
@@ -1,30 +1,28 @@
using Deal.Infrastructure.Persistence.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Deal.Infrastructure.Persistence;
using Deal.Infrastructure.Persistence.Configurations;
namespace Deal.Infrastructure.Persistence.Configurations;
/// <summary>
/// EF-конфигурация кандидата Discovery: таблица DiscCandidates (модель без схемы; Ruling 9).
/// </summary>
/// <remarks>
/// 1:1 db.py L159177. Marks/Topics — JSON-массивы в text. Составной индекс (TaskId, Status) — python
/// idx_disc_cand_task L177: выборка кандидатов задачи по статусу (списки воркера/вкладки). Без FK на DiscTasks:
/// удаление задачи чистит кандидатов каскадом в коде сервиса (delete_task L314318).
/// </remarks>
public sealed class DiscCandidateConfiguration : IEntityTypeConfiguration<DiscCandidateEntity>
{
public void Configure(EntityTypeBuilder<DiscCandidateEntity> builder)
{
builder.ToTable("DiscCandidates");
builder.HasKey(x => x.DialogId);
builder.Property(x => x.MarksJson).HasColumnType("text");
builder.Property(x => x.TopicsJson).HasColumnType("text");
builder.HasIndex(x => new { x.TaskId, x.Status });
}
}
using Deal.Infrastructure.Persistence.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Deal.Infrastructure.Persistence.Configurations;
/// <summary>
/// EF-конфигурация кандидата Discovery: таблица DiscCandidates (модель без схемы; Ruling 9).
/// </summary>
/// <remarks>
/// 1:1 db.py L159177. Marks/Topics — JSON-массивы в text. Составной индекс (TaskId, Status) — python
/// idx_disc_cand_task L177: выборка кандидатов задачи по статусу (списки воркера/вкладки). Без FK на DiscTasks:
/// удаление задачи чистит кандидатов каскадом в коде сервиса (delete_task L314318).
/// </remarks>
public sealed class DiscCandidateConfiguration : IEntityTypeConfiguration<DiscCandidateEntity>
{
public void Configure(EntityTypeBuilder<DiscCandidateEntity> builder)
{
builder.ToTable("DiscCandidates");
builder.HasKey(x => x.DialogId);
builder.Property(x => x.MarksJson).HasColumnType("text");
builder.Property(x => x.TopicsJson).HasColumnType("text");
builder.HasIndex(x => new { x.TaskId, x.Status });
}
}