Class EntityEventData<TEntity>
Used to pass data for an event that is related to with an IEntity object.
Inheritance
System.Object
EntityEventData<TEntity>
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 |