public override void Visit(DbRefKeyExpression expression) { Write(expression); _depth++; Write("Argument", expression.Argument); _depth--; }
public override Expression Visit(DbRefKeyExpression expression) { throw new NotImplementedException( string.Format( ExceptionMessages.DbExpressionTransformationNotImplemented, typeof(DbRefKeyExpression).Name)); }
public override void Visit(DbRefKeyExpression e) { Check.NotNull(e, "e"); BeginUnary(e); End(e); }
/// <summary> /// Implements the visitor pattern for <see cref="T:System.Data.Common.CommandTrees.DbRefKeyExpression"/>. /// </summary> /// <param name="expression">The <see cref="T:System.Data.Common.CommandTrees.DbRefKeyExpression"/> that is visited.</param> public override void Visit(DbRefKeyExpression expression) { if (expression == null) { throw new ArgumentNullException("expression"); } expression.Argument.Accept(this); }
/// <summary> /// Evaluates a ref key expression based on the result of evaluating the argument to the ref. /// </summary> /// <param name="node"> Ref key expression node. </param> /// <returns> The structural key of the ref as a new instance (record). </returns> public override PropagatorResult Visit(DbRefKeyExpression node) { Check.NotNull(node, "node"); // Retrieve the result of evaluating the child argument. var argument = Visit(node.Argument); // Return the argument directly (propagator results treat refs as standard structures) return(argument); }
/// <summary> /// Evaluates a ref key expression based on the result of evaluating the argument to the ref. /// </summary> /// <param name="node">Ref key expression node.</param> /// <returns>The structural key of the ref as a new instance (record).</returns> public override PropagatorResult Visit(DbRefKeyExpression node) { Debug.Assert(null != node, "node is not visited when null"); // Retrieve the result of evaluating the child argument. PropagatorResult argument = Visit(node.Argument); // Return the argument directly (propagator results treat refs as standard structures) return(argument); }
/// <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); }
public override void Visit(DbRefKeyExpression e) { VisitUnary(e); }
public override TreeNode Visit(DbRefKeyExpression e) { Check.NotNull <DbRefKeyExpression>(e, nameof(e)); return(this.VisitUnary((DbUnaryExpression)e, true)); }
public override LegacyCommandTrees.DbExpression Visit(DbRefKeyExpression expression) { throw new NotImplementedException(); }
public override object Visit(DbRefKeyExpression expression) { this.Visit(expression.Argument); return(null); }
public override DbExpression Visit(DbRefKeyExpression expression) { System.Diagnostics.Debug.Print("Visit(DbRefKeyExpression): {0}", expression); return(base.Visit(expression)); }
public override void Visit(DbRefKeyExpression expression) { Contract.Requires(expression != null); }
/// <summary> /// Visitor pattern method for DbRefKeyExpression. /// </summary> /// <param name="expression"> The DbRefKeyExpression that is being visited. </param> /// <returns> An instance of TResultType. </returns> public abstract TResultType Visit(DbRefKeyExpression expression);
public override ViewValidator.DbExpressionEntitySetInfo Visit( DbRefKeyExpression expression) { Check.NotNull <DbRefKeyExpression>(expression, nameof(expression)); return((ViewValidator.DbExpressionEntitySetInfo)null); }
public override void Visit(DbRefKeyExpression e) { Check.NotNull <DbRefKeyExpression>(e, nameof(e)); this.VisitUnary((DbUnaryExpression)e); }
public override void Visit(DbRefKeyExpression expression) { }
public override DbExpression Visit(DbRefKeyExpression expression) { System.Diagnostics.Debug.Print("Visit(DbRefKeyExpression): {0}", expression); return base.Visit(expression); }
public override TReturn Visit(DbRefKeyExpression expression) { Check.NotNull <DbRefKeyExpression>(expression, nameof(expression)); throw this.ConstructNotSupportedException((DbExpression)expression); }
public override TreeNode Visit(DbRefKeyExpression e) { return(this.VisitUnary(e, true)); }
public override void Visit(DbRefKeyExpression expression) { this.VisitUnaryExpression((DbUnaryExpression)expression); }
/// <summary> /// Visitor pattern method for DbRefKeyExpression. /// </summary> /// <param name="expression"> The DbRefKeyExpression that is being visited. </param> public abstract void Visit(DbRefKeyExpression expression);
public override VfpExpression Visit(DbRefKeyExpression expression) { return(new VfpRefKeyExpression(expression.ResultType, expression.Argument.Accept(this))); }
public override bool Visit(DbRefKeyExpression expression) { Check.NotNull <DbRefKeyExpression>(expression, nameof(expression)); return(this.VisitUnaryExpression((DbUnaryExpression)expression)); }
public override DbExpressionEntitySetInfo Visit(DbRefKeyExpression expression) { Check.NotNull(expression, "expression"); return(null); }
public override void Visit(DbRefKeyExpression e) { BeginUnary(e); End(e); }
public override void Visit(DbRefKeyExpression expression) { throw new NotSupportedException("Visit(\"DbRefKeyExpression\") is not supported."); }
public override void Visit(DbRefKeyExpression expression) { VisitUnaryExpression(expression); }
public override void Visit(DbRefKeyExpression expression) { throw new NotSupportedException("Visit(\"RefKeyExpression\") is not supported."); }
public override bool Visit(DbRefKeyExpression expression) { return(VisitUnaryExpression(expression)); }
public override TReturn Visit(DbRefKeyExpression expression) { Check.NotNull(expression, "expression"); throw ConstructNotSupportedException(expression); }
public override TreeNode Visit(DbRefKeyExpression e) { Check.NotNull(e, "e"); return(VisitUnary(e, true)); }
public override ISqlFragment Visit(DbRefKeyExpression e) { throw new NotSupportedException(); }
/// <summary> /// <see cref="VisitUnaryExpression" /> /// </summary> /// <param name="expression"> The DbRefKeyExpression that is being visited. </param> /// <returns> </returns> public override bool Visit(DbRefKeyExpression expression) { Check.NotNull(expression, "expression"); return(VisitUnaryExpression(expression)); }
public override void Visit(DbRefKeyExpression e) { Check.NotNull(e, "e"); VisitUnary(e); }
public override TReturn Visit(DbRefKeyExpression expression) { throw ConstructNotSupportedException(expression); }
public override DbExpressionEntitySetInfo Visit(DbRefKeyExpression expression) { return(null); }