private static UpdateFormulaResponse UpdateForumlaDefinition(dynamic att, AttributeMetadata from, AttributeMetadata to) { var response = new UpdateFormulaResponse { CurrentForumla = att.FormulaDefinition, NewFormula = UpdateFormula(att.FormulaDefinition, from.LogicalName, to.LogicalName) }; att.FormulaDefinition = response.NewFormula; return response; }
private static UpdateFormulaResponse UpdateForumlaDefinition(dynamic att, AttributeMetadata from, AttributeMetadata to) { var response = new UpdateFormulaResponse { CurrentForumla = att.FormulaDefinition, NewFormula = UpdateFormula(att.FormulaDefinition, from.LogicalName, to.LogicalName) }; att.FormulaDefinition = response.NewFormula; return(response); }