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

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