15 lines
462 B
C#
15 lines
462 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
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("Categories");
|
|
}
|
|
}
|
|
} |