From f240604dd73c1e101d20e37001d11e799af4d54b Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Thu, 7 Feb 2019 14:24:43 +0300 Subject: [PATCH] AggregateRoot properties should be virtual --- .../Volo/Abp/Domain/Entities/AggregateRoot.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/AggregateRoot.cs b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/AggregateRoot.cs index be222839cd..5d2ad56642 100644 --- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/AggregateRoot.cs +++ b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/AggregateRoot.cs @@ -13,10 +13,10 @@ namespace Volo.Abp.Domain.Entities IHasExtraProperties, IHasConcurrencyStamp { - public Dictionary ExtraProperties { get; protected set; } + public virtual Dictionary ExtraProperties { get; protected set; } [DisableAuditing] - public string ConcurrencyStamp { get; set; } + public virtual string ConcurrencyStamp { get; set; } private readonly ICollection _localEvents = new Collection(); private readonly ICollection _distributedEvents = new Collection(); @@ -65,10 +65,10 @@ namespace Volo.Abp.Domain.Entities IHasExtraProperties, IHasConcurrencyStamp { - public Dictionary ExtraProperties { get; protected set; } + public virtual Dictionary ExtraProperties { get; protected set; } [DisableAuditing] - public string ConcurrencyStamp { get; set; } + public virtual string ConcurrencyStamp { get; set; } private readonly ICollection _localEvents = new Collection(); private readonly ICollection _distributedEvents = new Collection();