示例#1
0
        public static void LogActivity(string userId, DateTime auditDateTime, ScreenActivityType screenActivityType,
                                       int screenId, string userComment, int BranchId, int departmentId)
        {
            var parameters = new object[] { userId, auditDateTime, screenActivityType, screenId, userComment, BranchId, departmentId };

            DataConnection.EExecuteNonQuery("InsertLogDetail", parameters);
        }
示例#2
0
 /// <summary>
 /// Logs the activity.
 /// </summary>
 /// <param name="screenActivityType">Type of the screen activity.</param>
 /// <param name="dateTime">The date time.</param>
 /// <param name="userComment">The user comment.</param>
 protected void LogActivity(ScreenActivityType screenActivityType, DateTime dateTime, string userComment = "")
 {
     AuditLogger.LogActivity(SessionContext.UserId, dateTime, screenActivityType, SessionContext.NavigationId, userComment, SessionContext.BranchId, SessionContext.DeptId);
 }
示例#3
0
 protected void LogActivity(ScreenActivityType screenActivityType, DateTime dateTime, int mapId, int topLevelId, int lowerLevelId, string userComment = "")
 {
     AuditLogger.LogActivity(SessionContext.UserId, dateTime, screenActivityType, SessionContext.NavigationId, userComment, topLevelId, lowerLevelId);
 }
示例#4
0
 protected void LogActivity(ScreenActivityType screenActivityType, string userComment = "")
 {
     LogActivity(screenActivityType, DateTime.Now, userComment);
 }