/// <summary> /// Returns a <see cref="System.String"/> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String"/> that represents this instance. /// </returns> public override string ToString() { return(OperationType + " DateTime=" + ModifiedOn.ToLocalTime() + (AuditedObject == null ? "" : " AuditedObject=(" + AuditedObject + ")") + (string.IsNullOrEmpty(PropertyName) ? "" : "PropertyName=(" + PropertyName + ")") + (NewObject == null ? "" : " NewObject=(" + NewObject + ")") + (OldObject == null ? "" : " OldObject=(" + OldObject + ")") + (NewObject != null ? "" : " NewValue=(" + NewValue + ")") + (OldObject != null ? "" : " OldValue=(" + OldValue + ")")); }