- Add all HardCoded Strings in Constants ... - Apply Resolve Constant Replacement Side Affects ... - add Support for Service Main Provider ...
16 lines
536 B
C#
16 lines
536 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
using xCategoryService.Constants;
|
|
using xCategoryService.Models.Entities;
|
|
using xDataService.Providers;
|
|
|
|
namespace xCategoryService.Configurations.Entities
|
|
{
|
|
public class XSubCategoryEntityConfiguration : XBaseEntityTypeConfiguration<XSubCategory, int>
|
|
{
|
|
public override void Configure(EntityTypeBuilder<XSubCategory> builder)
|
|
{
|
|
builder.ToTable(XCategoryServiceConstants.XSubCategoryTable);
|
|
}
|
|
}
|
|
} |