Browse Source

Update AbpDbContext.cs

pull/3834/head
Halil İbrahim Kalkan 7 years ago
parent
commit
ba9fb4b6eb
  1. 2
      framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs

2
framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/AbpDbContext.cs

@ -204,7 +204,7 @@ namespace Volo.Abp.EntityFrameworkCore
var currentValue = e.Entry.CurrentValues[property.Name]; var currentValue = e.Entry.CurrentValues[property.Name];
if (currentValue != null) if (currentValue != null)
{ {
entity.SetProperty(property.Name, currentValue); entity.ExtraProperties[property.Name] = currentValue;
} }
} }
} }

Loading…
Cancel
Save