Esempio n. 1
0
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 private void InitCreationAudited(EntityEntry entry)
 {
     if (GetUserId().IsEmpty())
     {
         return;
     }
     CreationAuditedInitializer.Init(entry.Entity, GetUserId(), GetUserName());
 }
Esempio n. 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());
Esempio n. 4
0
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 /// <param name="entry">输入实体</param>
 private void InitCreationAudited(EntityEntry entry)
 {
     CreationAuditedInitializer.Init(entry.Entity, GetUserContext());
 }
Esempio n. 5
0
 /// <summary>
 /// 初始化创建审计信息
 /// </summary>
 /// <param name="entry">数据实体</param>
 private void InitCreationAudited(DbEntityEntry entry)
 {
     CreationAuditedInitializer.Init(entry);
 }