コード例 #1
0
            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));
            }
コード例 #2
0
            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));
            }
コード例 #3
0
 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);
 }
コード例 #4
0
 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);
 }