Show / Hide Table of Contents

Class CreationAuditedEntity<TKey>

This class can be used to simplify implementing ICreationAuditedObject for an entity.

Inheritance
System.Object
Entity
Entity<TKey>
CreationAuditedEntity<TKey>
AuditedEntity<TKey>
CreationAuditedEntityWithUser<TKey, TUser>
Implements
IEntity<TKey>
IEntity
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
Inherited Members
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 CreationAuditedEntity<TKey> : Entity<TKey>, IEntity<TKey>, IEntity, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator
Type Parameters
Name Description
TKey

Type of the primary key of the entity

Constructors

CreationAuditedEntity()

Declaration
protected CreationAuditedEntity()

CreationAuditedEntity(TKey)

Declaration
protected CreationAuditedEntity(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

IEntity<TKey>
IEntity
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator

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