public UpdateConditionalCommand <T> Set <TProperty>(Expression <Func <T, TProperty> > propertySelector, TProperty value) { var specificField = SpecificField <T> .Create(propertySelector, value); if (_specificFields.ContainsKey(specificField.GetProperty().Name)) { _specificFields[specificField.GetProperty().Name] = specificField; } else { _specificFields.Add(specificField.GetProperty().Name, specificField); } return(this); }
public SpecificField <T> Set <TProperty>(Expression <Func <T, TProperty> > propertySelector, TProperty value) { return(SpecificField <T> .Create(propertySelector, value)); }