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