Class BasicAggregateRoot
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Domain.Entities
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class BasicAggregateRoot : Entity, IAggregateRoot, IEntity, IGeneratesDomainEvents
Constructors
BasicAggregateRoot()
Declaration
protected BasicAggregateRoot()
Methods
AddDistributedEvent(object)
Declaration
protected virtual void AddDistributedEvent(object eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| object | eventData |
AddLocalEvent(object)
Declaration
protected virtual void AddLocalEvent(object eventData)
Parameters
| Type | Name | Description |
|---|---|---|
| object | eventData |
ClearDistributedEvents()
Declaration
public virtual void ClearDistributedEvents()
ClearLocalEvents()
Declaration
public virtual void ClearLocalEvents()
GetDistributedEvents()
Declaration
public virtual IEnumerable<DomainEventRecord> GetDistributedEvents()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><DomainEventRecord> |
GetLocalEvents()
Declaration
public virtual IEnumerable<DomainEventRecord> GetLocalEvents()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><DomainEventRecord> |