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
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 implementationRestoreEntityAsync: Restore a single entity to specified version through audit logRestoreEntitesAsync: 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->EntityPropertyChangeDtoEntityChange->EntityChangeDto