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

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