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