using APT.Infrastructure.Core; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace APT.Infrastructure.EF.Map { public class PFParamMap : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) { builder.HasKey(t => t.ID); builder.Property(t => t.CODE).HasMaxLength(60); builder.Property(t => t.VALUE).HasMaxLength(600); builder.Property(t => t.CREATE_TIME); builder.Ignore(t => t.VIR_IS_DELETED); //this.Property(t => t.ENTITY_ID); } } }