/// <summary> /// Visitor pattern method for <see cref="DbRefKeyExpression" />. /// </summary> /// <param name="expression"> The DbRefKeyExpression that is being visited. </param> /// <exception cref="ArgumentNullException"> /// <paramref name="expression" /> /// is null /// </exception> public override void Visit(DbRefKeyExpression 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.DbRefKeyExpression" /> /// . /// </summary> /// <returns>A result value of a specific type.</returns> /// <param name="expression"> /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression" /> that is being visited. /// </param> public abstract TResultType Visit(DbRefKeyExpression expression);
/// <summary> /// When overridden in a derived class, implements the visitor pattern for /// <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression" /> /// . /// </summary> /// <param name="expression"> /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression" /> that is visited. /// </param> public abstract void Visit(DbRefKeyExpression expression);
public override void Visit(DbRefKeyExpression expression) { }
public override DbExpression Visit(DbRefKeyExpression expression) { Check.NotNull(expression, "expression"); return(VisitUnary(expression, CqtBuilder.GetRefKey)); }
/// <summary> /// Visitor pattern method for <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression" />. /// </summary> /// <param name="expression"> The DbRefKeyExpression that is being visited. </param> /// <exception cref="T:System.ArgumentNullException"> /// <paramref name="expression" /> /// is null /// </exception> public override void Visit(DbRefKeyExpression expression) { Check.NotNull <DbRefKeyExpression>(expression, nameof(expression)); this.VisitUnaryExpression((DbUnaryExpression)expression); }