Refactor Category Service ...
- Add all HardCoded Strings in Constants ... - Apply Resolve Constant Replacement Side Affects ... - add Support for Service Main Provider ...
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using xCategoryService.Constants;
|
||||
using xCategoryService.Models.Entities;
|
||||
using xDataService.Providers;
|
||||
|
||||
@@ -9,7 +10,7 @@ namespace xCategoryService.Configurations.Entities
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<XCategory> builder)
|
||||
{
|
||||
builder.ToTable("Categories");
|
||||
builder.ToTable(XCategoryServiceConstants.XCategoryTable);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user