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);
        }
Example #2
0
 public void AddChangedField(ChangedField fieldDelta)
 {
     ChangedFields.Add(fieldDelta);
 }