Ejemplo n.º 1
0
        /// <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)
        {
            Check.NotNull(expression, "expression");

            VisitUnaryExpression(expression);
        }
 /// <summary>
 /// When overridden in a derived class, implements the visitor pattern for
 /// <see
 ///     cref="T:System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression" />
 /// .
 /// </summary>
 /// <returns>A result value of a specific type.</returns>
 /// <param name="expression">
 /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression" /> that is being visited.
 /// </param>
 public abstract TResultType Visit(DbDistinctExpression expression);
 /// <summary>
 /// When overridden in a derived class, implements the visitor pattern for
 /// <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression" />
 /// .
 /// </summary>
 /// <param name="expression">
 /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression" /> that is visited.
 /// </param>
 public abstract void Visit(DbDistinctExpression expression);
 public override void Visit(DbDistinctExpression expression)
 {
 }
Ejemplo n.º 5
0
        public override DbExpression Visit(DbDistinctExpression expression)
        {
            Check.NotNull(expression, "expression");

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