19 lines
534 B
C#
19 lines
534 B
C#
using APT.Infrastructure.EF.Map;
|
|
using APT.BaseData.Domain.Entities.FM;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace APT.BaseData.Data.Mapping.FM
|
|
{
|
|
public class FMUserCustomConfigMap : APTEntityBaseMap<T_FM_USER_CUSTOM_CONFIG>
|
|
{
|
|
public override void Configure(EntityTypeBuilder<T_FM_USER_CUSTOM_CONFIG> builder)
|
|
{
|
|
base.Configure(builder);
|
|
|
|
//builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
|
}
|
|
|
|
}
|
|
}
|