refactor and add using constants instead of hard coded strings ...
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using xDataService.Providers;
|
||||
using xStringService.Constants;
|
||||
using xStringService.Models.Entities;
|
||||
|
||||
namespace xStringService.Configurations.Entities
|
||||
@@ -9,7 +10,7 @@ namespace xStringService.Configurations.Entities
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<XString> builder)
|
||||
{
|
||||
builder.ToTable("Strings");
|
||||
builder.ToTable(XStringServiceConstants.XStringTable);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user