Show / Hide Table of Contents

Class EntityEventData<TEntity>

Used to pass data for an event that is related to with an IEntity object.

Inheritance
System.Object
EntityEventData<TEntity>
EntityChangedEventData<TEntity>
EntityChangingEventData<TEntity>
Implements
IEventDataWithInheritableGenericArgument
IEventDataMayHaveTenantId
Namespace: Volo.Abp.Domain.Entities.Events
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public class EntityEventData<TEntity> : object, IEventDataWithInheritableGenericArgument, IEventDataMayHaveTenantId
Type Parameters
Name Description
TEntity

Entity type

Constructors

EntityEventData(TEntity)

Constructor.

Declaration
public EntityEventData(TEntity entity)
Parameters
Type Name Description
TEntity entity

Related entity with this event

Properties

Entity

Related entity with this event.

Declaration
public TEntity Entity { get; }
Property Value
Type Description
TEntity

Methods

GetConstructorArgs()

Declaration
public virtual object[] GetConstructorArgs()
Returns
Type Description
System.Object[]

IsMultiTenant(out Nullable<Guid>)

Declaration
public virtual bool IsMultiTenant(out Guid? tenantId)
Parameters
Type Name Description
System.Nullable<Guid> tenantId
Returns
Type Description
System.Boolean

Implements

IEventDataWithInheritableGenericArgument
IEventDataMayHaveTenantId

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