Show / Hide Table of Contents

Class CreationAuditedEntityWithUserDto<TPrimaryKey, TUserDto>

This class can be inherited by DTO classes to implement ICreationAuditedObject<TCreator> interface. It also has the Creator object as a DTO represents the user.

Inheritance
System.Object
EntityDto
EntityDto<TPrimaryKey>
CreationAuditedEntityDto<TPrimaryKey>
CreationAuditedEntityWithUserDto<TPrimaryKey, TUserDto>
Implements
IEntityDto<TPrimaryKey>
IEntityDto
ICreationAuditedObject<TUserDto>
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IMayHaveCreator<TUserDto>
Inherited Members
CreationAuditedEntityDto<TPrimaryKey>.CreationTime
CreationAuditedEntityDto<TPrimaryKey>.CreatorId
EntityDto<TPrimaryKey>.Id
EntityDto<TPrimaryKey>.ToString()
Namespace: Volo.Abp.Application.Dtos
Assembly: Volo.Abp.Ddd.Application.Contracts.dll
Syntax
public abstract class CreationAuditedEntityWithUserDto<TPrimaryKey, TUserDto> : CreationAuditedEntityDto<TPrimaryKey>, IEntityDto<TPrimaryKey>, IEntityDto, ICreationAuditedObject<TUserDto>, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IMayHaveCreator<TUserDto>
Type Parameters
Name Description
TPrimaryKey

Type of primary key

TUserDto

Type of the User DTO

Properties

Creator

Declaration
public TUserDto Creator { get; set; }
Property Value
Type Description
TUserDto

Implements

IEntityDto<TKey>
IEntityDto
ICreationAuditedObject<TCreator>
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IMayHaveCreator<TCreator>

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