Class BasicAggregateRoot<TKey>
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<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 |
|---|---|---|
| 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> |