using Microsoft.EntityFrameworkCore; using Quadarax.Foundation.Core.Data.Entity; namespace Quadarax.Application.QLiberace.Common.Entities.Base.DaoMapper { public class KeylessDm : AbstractDaoMapper where TEntity : QlbrcEntityKeyless { public override void Map(ModelBuilder builder) { if (builder == null) throw new ArgumentNullException(nameof(builder)); builder.Entity(entity => { entity.HasNoKey(); } ); } } }