- Add all HardCoded Strings in Constants ... - Apply Resolve Constant Replacement Side Affects ... - add Support for Service Main Provider ...
16 lines
524 B
C#
16 lines
524 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 XCategoryEntityConfiguration : XBaseEntityTypeConfiguration<XCategory, int>
|
|
{
|
|
public override void Configure(EntityTypeBuilder<XCategory> builder)
|
|
{
|
|
builder.ToTable(XCategoryServiceConstants.XCategoryTable);
|
|
}
|
|
}
|
|
} |