public List <string> GetIgnoreFields(AuditActivityTypes activityType)
        {
            List <string> lst = new List <string>();

            //lst = new List<string>() { "created_by", "created_on", "updated_by", "updated_on", "deleted_by", "deleted_on", "is_deleted" };
            switch (activityType)
            {
            case AuditActivityTypes.INSERT:

                lst = new List <string>()
                {
                    "updated_by", "updated_on", "deleted_by", "deleted_on", "is_deleted"
                };
                break;

            case AuditActivityTypes.UPDATE:
                lst = new List <string>()
                {
                    "created_by", "created_on", "deleted_by", "deleted_on", "is_deleted"
                };
                break;

            case AuditActivityTypes.SOFTDELETE:
                lst = new List <string>()
                {
                    "created_by", "created_on", "updated_by", "updated_on"
                };
                break;

            default:
                lst = new List <string>()
                {
                    "created_by", "created_on", "updated_by", "updated_on", "deleted_by", "deleted_on", "is_deleted"
                };
                break;
            }
            return(lst);
        }
 public ChangeHistoryHelper(AuditActivityTypes activityType)
 {
     ActivityType = activityType;
     Changes      = new LogChangeHistory();
 }