diff --git a/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Modeling/AbpEntityTypeBuilderExtensions.cs b/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Modeling/AbpEntityTypeBuilderExtensions.cs index 0893c3007b..a8ffa44d1d 100644 --- a/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Modeling/AbpEntityTypeBuilderExtensions.cs +++ b/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/Modeling/AbpEntityTypeBuilderExtensions.cs @@ -12,11 +12,12 @@ namespace Volo.Abp.EntityFrameworkCore.Modeling public static void ConfigureExtraProperties(this EntityTypeBuilder b) where T : class, IHasExtraProperties { - b.Property(u => u.ExtraProperties) + b.Property(x => x.ExtraProperties) .HasConversion( d => JsonConvert.SerializeObject(d, Formatting.None), s => JsonConvert.DeserializeObject>(s) - ); + ) + .HasColumnName(nameof(IHasExtraProperties.ExtraProperties)); } public static void ConfigureSoftDelete(this EntityTypeBuilder b)