Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 947 Bytes

entity.md

File metadata and controls

27 lines (21 loc) · 947 Bytes

How to create an entity

More correctly called a Domain Entity.

Auditing

ABP provides some interfaces for tracking when an entity was creation, last modified and deleted, as well as which user made the change.

You can use any of the interfaces but some do implement each other as shown in the tree view below:

  • IFullAudited
    • IAudited
      • ICreationAudited (Adds CreatorUserId)
        • IHasCreationTime (Adds CreationTime)
      • IModificationAudited (LastModifierUserId)
        • IHasModificationTime (Adds LastModificationTime)
    • IDeletionAudited (Adds DeleterUserId and DeletionTime)
      • ISoftDelete (Adds IsDeleted)
  • IMustHaveTenant
  • IMayHaveTenant

Other Interfaces

IPassivable - defines IsActive property

See Also