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

            return(VisitBinary(expression, CqtBuilder.Intersect));
        }