Example #1
0
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 private void InitCreationAudited(EntityEntry entry)
 {
     if (GetUserId().IsEmpty())
     {
         return;
     }
     CreationAuditedInitializer.Init(entry.Entity, GetUserId(), GetUserName());
 }
Example #2
0
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 private void InitCreationAudited(EntityEntry entry)
 {
     CreationAuditedInitializer.Init(entry.Entity, GetSession());
 }
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 /// <param name="entry">输入实体</param>
 private void InitCreationAudited(EntityEntry entry) => CreationAuditedInitializer.Init(entry.Entity, GetUserId(), GetUserName());
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 /// <param name="entry">输入实体</param>
 private void InitCreationAudited(EntityEntry entry)
 {
     CreationAuditedInitializer.Init(entry.Entity, GetUserContext());
 }
Example #5
0
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 /// <param name="entry">数据实体</param>
 private void InitCreationAudited(DbEntityEntry entry)
 {
     CreationAuditedInitializer.Init(entry);
 }