Show / Hide Table of Contents

Class BasicAggregateRoot<TKey>

Inheritance
object
Entity
Entity<TKey>
BasicAggregateRoot<TKey>
AggregateRoot<TKey>
IncomingEventRecord
OutgoingEventRecord
Implements
IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
Inherited Members
Entity<TKey>.GetKeys()
Entity<TKey>.ToString()
Entity<TKey>.Id
Entity.EntityEquals(IEntity)
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
IEnumerable<DomainEventRecord>

GetLocalEvents()

Declaration
public virtual IEnumerable<DomainEventRecord> GetLocalEvents()
Returns
Type Description
IEnumerable<DomainEventRecord>

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by Volosoft