Show / Hide Table of Contents

Class BasicAggregateRoot<TKey>

Inheritance
System.Object
Entity
Entity<TKey>
BasicAggregateRoot<TKey>
AggregateRoot<TKey>
Comment
UserReaction
Implements
IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
Inherited Members
Entity<TKey>.Id
Entity<TKey>.GetKeys()
Entity<TKey>.ToString()
Entity.EntityEquals(IEntity)
Namespace: Volo.Abp.Domain.Entities
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class BasicAggregateRoot<TKey> : Entity<TKey>, IAggregateRoot<TKey>, IEntity<TKey>, IAggregateRoot, IEntity, IGeneratesDomainEvents
Type Parameters
Name Description
TKey

Constructors

BasicAggregateRoot()

Declaration
protected BasicAggregateRoot()

BasicAggregateRoot(TKey)

Declaration
protected BasicAggregateRoot(TKey id)
Parameters
Type Name Description
TKey id

Methods

AddDistributedEvent(Object)

Declaration
protected virtual void AddDistributedEvent(object eventData)
Parameters
Type Name Description
System.Object eventData

AddLocalEvent(Object)

Declaration
protected virtual void AddLocalEvent(object eventData)
Parameters
Type Name Description
System.Object eventData

ClearDistributedEvents()

Declaration
public virtual void ClearDistributedEvents()

ClearLocalEvents()

Declaration
public virtual void ClearLocalEvents()

GetDistributedEvents()

Declaration
public virtual IEnumerable<object> GetDistributedEvents()
Returns
Type Description
IEnumerable<System.Object>

GetLocalEvents()

Declaration
public virtual IEnumerable<object> GetLocalEvents()
Returns
Type Description
IEnumerable<System.Object>

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents

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