Пример #1
0
 protected void SetAuditEdit(FullAuditModel entity)
 {
     entity.UpdatedDate = DateTime.Now;
     entity.UpdatedBy   = GetCurrentUser().Name;
 }
Пример #2
0
 protected void SetAuditInsert(FullAuditModel entity)
 {
     entity.CreatedDate = DateTime.Now;
     entity.CreatedBy   = GetCurrentUser().Name;
     entity.IsDelete    = false;
 }