refactor and add using constants instead of hard coded strings ...
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user