Class BasicAggregateRoot<TKey>
Inheritance
System.Object
BasicAggregateRoot<TKey>
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public abstract class BasicAggregateRoot<TKey> : Entity<TKey>, IAggregateRoot<TKey>, IEntity<TKey>, IAggregateRoot, IEntity, IGeneratesDomainEvents
Type Parameters
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
Extension Methods