Files
xCategoryService/Configurations/Entities/XCategoryEntityConfiguration.cs
T
saherelm e37bad59ac Refactor Category Service ...
- Add all HardCoded Strings in Constants ...
- Apply Resolve Constant Replacement Side Affects ...
- add Support for Service Main Provider ...
2026-07-28 21:31:42 +03:30

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);
}
}
}