Class AuditedEntityWithUser<TKey, TUser>
This class can be used to simplify implementing IAuditedObject<TUser>.
Inheritance
System.Object
Entity<TKey>
CreationAuditedEntity<TKey>
AuditedEntity<TKey>
AuditedEntityWithUser<TKey, TUser>
Implements
IEntity<TKey>
IAuditedObject<TUser>
ICreationAuditedObject<TUser>
IMayHaveCreator<TUser>
IModificationAuditedObject<TUser>
Inherited Members
Namespace: Volo.Abp.Domain.Entities.Auditing
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class AuditedEntityWithUser<TKey, TUser> : AuditedEntity<TKey>, IEntity<TKey>, IEntity, IAuditedObject<TUser>, IAuditedObject, ICreationAuditedObject<TUser>, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IMayHaveCreator<TUser>, IModificationAuditedObject<TUser>, IModificationAuditedObject, IHasModificationTime where TUser : IEntity<Guid>
Type Parameters
Name | Description |
---|---|
TKey | Type of the primary key of the entity |
TUser | Type of the user |
Constructors
AuditedEntityWithUser()
Declaration
protected AuditedEntityWithUser()
AuditedEntityWithUser(TKey)
Declaration
protected AuditedEntityWithUser(TKey id)
Parameters
Type | Name | Description |
---|---|---|
TKey | id |
Properties
Creator
Declaration
public virtual TUser Creator { get; set; }
Property Value
Type | Description |
---|---|
TUser |
LastModifier
Declaration
public virtual TUser LastModifier { get; set; }
Property Value
Type | Description |
---|---|
TUser |