Remotion.Linq.SqlBackend.MappingResolution.ResolvingExpressionVisitor.VisitSqlIsNotNullExpression C# (CSharp) Method

VisitSqlIsNotNullExpression() public method

public VisitSqlIsNotNullExpression ( SqlIsNotNullExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlIsNotNullExpression
return System.Linq.Expressions.Expression
    public Expression VisitSqlIsNotNullExpression (SqlIsNotNullExpression expression)
    {
      ArgumentUtility.CheckNotNull ("expression", expression);

      var baseVisitedExpression = (SqlIsNotNullExpression) base.VisitExtensionExpression (expression);

      var expressionWithEntityComparisonResolved = _entityIdentityResolver.ResolvePotentialEntityComparison (baseVisitedExpression);
      var result = _compoundComparisonSplitter.SplitPotentialCompoundComparison (expressionWithEntityComparisonResolved);

      if (baseVisitedExpression != result)
        return VisitExpression (result);

      return baseVisitedExpression;
    }