Show / Hide Table of Contents

Class AuditedAggregateRoot<TKey>

This class can be used to simplify implementing IAuditedObject for aggregate roots.

Inheritance
System.Object
Entity
Entity<TKey>
BasicAggregateRoot<TKey>
AggregateRoot<TKey>
CreationAuditedAggregateRoot<TKey>
AuditedAggregateRoot<TKey>
AuditedAggregateRootWithUser<TKey, TUser>
FullAuditedAggregateRoot<TKey>
Implements
IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IAuditedObject
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IModificationAuditedObject
IHasModificationTime
Inherited Members
CreationAuditedAggregateRoot<TKey>.CreationTime
CreationAuditedAggregateRoot<TKey>.CreatorId
AggregateRoot<TKey>.ExtraProperties
AggregateRoot<TKey>.ConcurrencyStamp
AggregateRoot<TKey>.Validate(ValidationContext)
BasicAggregateRoot<TKey>.GetLocalEvents()
BasicAggregateRoot<TKey>.GetDistributedEvents()
BasicAggregateRoot<TKey>.ClearLocalEvents()
BasicAggregateRoot<TKey>.ClearDistributedEvents()
BasicAggregateRoot<TKey>.AddLocalEvent(Object)
BasicAggregateRoot<TKey>.AddDistributedEvent(Object)
Entity<TKey>.Id
Entity<TKey>.GetKeys()
Entity<TKey>.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.Abp.Domain.Entities.Auditing
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

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IAuditedObject
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IModificationAuditedObject
IHasModificationTime

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft