这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.1 KiB

LINGYUN.Abp.EntityChange.Application

Application layer implementation module for entity change tracking and restoration.

Features

  • Implements entity change query service
  • Implements entity restoration service
  • Provides auto mapping configuration for entity changes

Basic Usage

[DependsOn(typeof(AbpEntityChangeApplicationModule))]
public class YouProjectModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        // ...
    }
}

Service Implementation

  • EntityRestoreAppService<TEntity, TKey>: Entity restoration service implementation
    • RestoreEntityAsync: Restore a single entity to specified version through audit log
    • RestoreEntitesAsync: Batch restore entities to specified versions through audit log
    • Supports restoration permission policy configuration via RestorePolicy

Object Mapping

The module uses AutoMapper to implement automatic mapping for the following objects:

  • EntityPropertyChange -> EntityPropertyChangeDto
  • EntityChange -> EntityChangeDto

简体中文