public ChangeInfo AddChange(Expression <Func <object> > expression) { ChangedField change = GetChangedField(expression); if (change.Value != null && CHANGES_SUPPORTED.Contains(change.Value.GetType())) { changes.Add(change.Name, new JValue(change.Value)); } return(this); }
public void AddChangedField(ChangedField fieldDelta) { ChangedFields.Add(fieldDelta); }