Remotion.Linq.SqlBackend.MappingResolution.SqlContextExpressionVisitor.VisitSqlInExpression C# (CSharp) Method

VisitSqlInExpression() public method

public VisitSqlInExpression ( SqlInExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlInExpression
return System.Linq.Expressions.Expression
    public Expression VisitSqlInExpression (SqlInExpression expression)
    {
      try
      {
        return VisitChildrenWithGivenSemantics (expression, SqlExpressionContext.SingleValueRequired);
      }
      catch (NotSupportedException ex)
      {
        var message = string.Format (
            "The SQL 'IN' operator (originally probably a call to a 'Contains' method) requires a single value, so the following expression cannot "
            + "be translated to SQL: '{0}'.",
            FormattingExpressionTreeVisitor.Format (expression));
        throw new NotSupportedException (message, ex);
      }
    }