Class CreationAuditedAggregateRoot<TKey>
This class can be used to simplify implementing ICreationAuditedObject for aggregate roots.
Inheritance
System.Object
Entity<TKey>
BasicAggregateRoot<TKey>
AggregateRoot<TKey>
CreationAuditedAggregateRoot<TKey>
Inherited Members
Namespace: Volo.Abp.Domain.Entities.Auditing
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class CreationAuditedAggregateRoot<TKey> : AggregateRoot<TKey>, IAggregateRoot<TKey>, IEntity<TKey>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator
Type Parameters
| Name | Description |
|---|---|
| TKey | Type of the primary key of the entity |
Constructors
CreationAuditedAggregateRoot()
Declaration
protected CreationAuditedAggregateRoot()
CreationAuditedAggregateRoot(TKey)
Declaration
protected CreationAuditedAggregateRoot(TKey id)
Parameters
| Type | Name | Description |
|---|---|---|
| TKey | id |
Properties
CreationTime
Declaration
public virtual DateTime CreationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
CreatorId
Declaration
public virtual Guid? CreatorId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Guid> |
Implements
IHasExtraProperties