refactor and add using constants instead of hard coded strings ...

This commit is contained in:
2026-07-30 14:26:51 +03:30
parent 651fde1cd8
commit 9c101a63eb
7 changed files with 49 additions and 14 deletions
@@ -2,6 +2,7 @@ using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using xDataService.Providers;
using xFileService.Constants;
using xFileService.Models.Entities;
namespace xFileService.Configurations.Entities
@@ -10,7 +11,7 @@ namespace xFileService.Configurations.Entities
{
public override void Configure(EntityTypeBuilder<XFile> builder)
{
builder.ToTable("Files");
builder.ToTable(XFileServiceConstants.XFileTable);
}
}
}