public override string GetAuditNoteForNonComponentProperty(string columnName, int propertyIndexToAudit) { var oldValue = _oldStates[propertyIndexToAudit]; var newValue = _newStates[propertyIndexToAudit]; string note = PatientAccessAuditableListenerHelper.GetColumnUpdateNote(columnName, oldValue, newValue); return(note); }
public string GetAuditNoteForNonComponentProperty(PropertyInfo propertyInfo, string columnName) { object oldValue = GetValue(propertyInfo, _oldOwnerValue); object newValue = GetValue(propertyInfo, _newOwnerValue); var note = PatientAccessAuditableListenerHelper.GetColumnUpdateNote(columnName, oldValue, newValue); return(note); }