Fork me on GitHub

ABP源码分析四十一:ZERO的Audit,Setting,Background Job

AuditLog: 继承自Entity<long>的实体类。封装AuditLog的信息。

AuditingStore: 实现了IAuditingStore接口,实现了将AuditLog的信息保存到数据库的功能。其通过IRepository<AuditLog, long>实例完成对数据库的操作。

 

BackgroundJobStore :  实现了IBackgroundJobStore接口,通过IRepository<BackgroundJobInfo, long>完成对BackgroundJobInfo在数据库中的CRUD 操作。BackgroundJobInfo的实体类在ABP核心框架中已有定义。

 

 

Setting : 继承自AuditedEntity<long>的实体类。封装用户的Setting信息。

SettingStore:  实现了ISettingStore接口,通过IRepository<Setting, long>完成对Setting在数据库中的CRUD 操作。

 

AbpIdentityResult : 继承自ASP.NET Identity 的IdentityResult类型。定义了一个静态方法Failed,根据errors返回一个AbpIdentityResult 实例

 

NotificationStore:实现了INotificationStore接口。通过IRepository<NotificationInfo, Guid>,IRepository<UserNotificationInfo, Guid>和IRepository<NotificationSubscriptionInfo, Guid>仓储实例完成Notification以及与Notification相关的关联关系的CRUD操作。NotificationInfo的实体类在ABP核心框架中已有定义。

 

返回ABP源码分析系列文章目录

posted @ 2016-05-02 10:40  ZHK的博客  阅读(2097)  评论(1编辑  收藏  举报