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

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