private void SetAddedProperties(ObjectStateEntry entry, StringBuilder newData) { CurrentValueRecord currentValues = entry.CurrentValues; for (int i = 0; i < currentValues.FieldCount; i++) { newData.AppendFormat("{0}={1} || ", currentValues.GetName(i), currentValues.GetValue(i)); } }