/// <summary>
 ///     When overridden in a derived class, implements the visitor pattern for
 ///     <see
 ///         cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNotExpression" />
 ///     .
 /// </summary>
 /// <returns>A result value of a specific type.</returns>
 /// <param name="expression">
 ///     The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNotExpression" /> that is being visited.
 /// </param>
 public abstract TResultType Visit(DbNotExpression expression);
        /// <summary>
        ///     Visitor pattern method for <see cref="DbNotExpression" />.
        /// </summary>
        /// <param name="expression"> The DbNotExpression that is being visited. </param>
        /// <exception cref="ArgumentNullException">
        ///     <paramref name="expression" />
        ///     is null
        /// </exception>
        public override void Visit(DbNotExpression expression)
        {
            Check.NotNull(expression, "expression");

            VisitUnaryExpression(expression);
        }
 public override void Visit(DbNotExpression expression)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// When overridden in a derived class, implements the visitor pattern for
 /// <see
 ///     cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNotExpression" />
 /// .
 /// </summary>
 /// <param name="expression">
 /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNotExpression" /> that is visited.
 /// </param>
 public abstract void Visit(DbNotExpression expression);
Exemplo n.º 5
0
        public override DbExpression Visit(DbNotExpression expression)
        {
            Check.NotNull(expression, "expression");

            return(VisitUnary(expression, CqtBuilder.Not));
        }
Exemplo n.º 6
0
 /// <summary>
 /// Visitor pattern method for <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbNotExpression" />.
 /// </summary>
 /// <param name="expression"> The DbNotExpression that is being visited. </param>
 /// <exception cref="T:System.ArgumentNullException">
 /// <paramref name="expression" />
 /// is null
 /// </exception>
 public override void Visit(DbNotExpression expression)
 {
     Check.NotNull <DbNotExpression>(expression, nameof(expression));
     this.VisitUnaryExpression((DbUnaryExpression)expression);
 }