IAggregateRoot.cs 391 B

1234567891011121314151617181920
  1. using System.Collections.Generic;
  2. using Abp.Events.Bus;
  3. namespace Abp.Domain.Entities
  4. {
  5. public interface IAggregateRoot : IAggregateRoot<int>, IEntity
  6. {
  7. }
  8. public interface IAggregateRoot<TPrimaryKey> : IEntity<TPrimaryKey>, IGeneratesDomainEvents
  9. {
  10. }
  11. public interface IGeneratesDomainEvents
  12. {
  13. ICollection<IEventData> DomainEvents { get; }
  14. }
  15. }