internal static DbExpression Substitute(DbExpression original, string referencedVariable, Dictionary <string, DbExpression> propertyValues) { Debug.Assert(original != null, "Original expression cannot be null"); ValueSubstituter visitor = new ValueSubstituter(referencedVariable, propertyValues); return(visitor.VisitExpression(original)); }
internal static DbExpression Substitute( DbExpression original, string referencedVariable, Dictionary <string, DbExpression> propertyValues) { DebugCheck.NotNull(original); var visitor = new ValueSubstituter(referencedVariable, propertyValues); return(visitor.VisitExpression(original)); }
internal static DbExpression Substitute(DbExpression original, string referencedVariable, Dictionary<string, DbExpression> propertyValues) { Debug.Assert(original != null, "Original expression cannot be null"); ValueSubstituter visitor = new ValueSubstituter(referencedVariable, propertyValues); return visitor.VisitExpression(original); }
internal static DbExpression Substitute( DbExpression original, string referencedVariable, Dictionary<string, DbExpression> propertyValues) { DebugCheck.NotNull(original); var visitor = new ValueSubstituter(referencedVariable, propertyValues); return visitor.VisitExpression(original); }