/// <summary> /// 初始化修改审计信息 /// </summary> /// <param name="entry">输入实体</param> private void InitModificationAudited(DbEntityEntry entry) { ModificationAuditedInitializer.Init(entry.Entity, GetUserContext()); }
/// <summary> /// 初始化修改审计信息 /// </summary> /// <param name="entry">数据实体</param> private void InitModificationAudited(DbEntityEntry entry) { ModificationAuditedInitializer.Init(entry); }
/// <summary> /// 初始化修改审计信息 /// </summary> private void InitModificationAudited(EntityEntry entry) { ModificationAuditedInitializer.Init(entry.Entity, GetSession()); }
/// <summary> /// 初始化修改审计信息 /// </summary> private void InitModificationAudited(EntityEntry entry) { ModificationAuditedInitializer.Init(entry.Entity, GetUserId(), GetUserName()); }