/// <summary>
 /// Typed visitor pattern method for DbIsEmptyExpression.
 /// </summary>
 /// <param name="expression">The DbIsEmptyExpression that is being visited.</param>
 /// <returns>An instance of TResultType.</returns>
 public abstract TResultType Visit(DbIsEmptyExpression expression);
Exemple #2
0
 /// <summary>
 /// Visitor pattern method for DbIsEmptyExpression.
 /// </summary>
 /// <param name="expression">The DbIsEmptyExpression that is being visited.</param>
 public abstract void Visit(DbIsEmptyExpression expression);
 /// <summary>
 /// Visitor pattern method for <see cref="DbIsEmptyExpression"/>.
 /// </summary>
 /// <param name="expression">The DbIsEmptyExpression that is being visited.</param>
 /// <exception cref="ArgumentNullException"><paramref name="expression"/> is null</exception>
 public override void Visit(DbIsEmptyExpression expression)
 {
     VisitUnaryExpression(expression);
 }
        public override DbExpression Visit(DbIsEmptyExpression expression)
        {
            EntityUtil.CheckArgumentNull(expression, "expression");

            return(VisitUnary(expression, CqtBuilder.IsEmpty));
        }