using System.Reflection; using Fake.Domain.Entities; using Fake.SqlSugarCore; namespace TrackCenter.Repository; public class TrackCenterDbContext : SugarDbContext { public TrackCenterDbContext(SugarDbConnOptions options) : base(options) { } protected override void ConfigureEntityService(PropertyInfo property, EntityColumnInfo column) { if (property.Name == nameof(IAggregateRoot.ConcurrencyStamp)) { column.IsIgnore = true; } base.ConfigureEntityService(property, column); } }