Class AuditedAggregateRoot<TKey>
This class can be used to simplify implementing IAuditedObject for aggregate roots.
Inheritance
System.Object
AuditedAggregateRoot<TKey>
Implements
IHasExtraProperties
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class AuditedAggregateRoot<TKey> : CreationAuditedAggregateRoot<TKey>, IAggregateRoot<TKey>, IEntity<TKey>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IAuditedObject, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IModificationAuditedObject, IHasModificationTime
Type Parameters
Name |
Description |
TKey |
Type of the primary key of the entity
|
Constructors
AuditedAggregateRoot()
Declaration
protected AuditedAggregateRoot()
AuditedAggregateRoot(TKey)
Declaration
protected AuditedAggregateRoot(TKey id)
Parameters
Type |
Name |
Description |
TKey |
id |
|
Properties
LastModificationTime
Declaration
public virtual DateTime? LastModificationTime { get; set; }
Property Value
Type |
Description |
System.Nullable<DateTime> |
|
LastModifierId
Declaration
public virtual Guid? LastModifierId { get; set; }
Property Value
Type |
Description |
System.Nullable<Guid> |
|
Implements
IHasExtraProperties
Extension Methods