Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="isnull"></param>
        /// <returns></returns>
        protected virtual Expression VisitIsNull(IsNullExpression isnull)
        {
            Expression expr = this.Visit(isnull.Expression);

            if (expr != isnull.Expression)
            {
                return(new IsNullExpression(expr));
            }
            return(isnull);
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 protected virtual bool CompareIsNull(IsNullExpression a, IsNullExpression b)
 {
     return(this.Compare(a.Expression, b.Expression));
 }