/// <summary> /// Typed visitor pattern method for DbTreatExpression. /// </summary> /// <param name="expression">The DbTreatExpression that is being visited.</param> /// <returns>An instance of TResultType.</returns> public abstract TResultType Visit(DbTreatExpression expression);
/// <summary> /// Visitor pattern method for DbTreatExpression. /// </summary> /// <param name="expression">The DbTreatExpression that is being visited.</param> public abstract void Visit(DbTreatExpression expression);
/// <summary> /// Visitor pattern method for <see cref="DbTreatExpression"/>. /// </summary> /// <param name="expression">The DbTreatExpression that is being visited.</param> /// <exception cref="ArgumentNullException"><paramref name="expression"/> is null</exception> public override void Visit(DbTreatExpression expression) { VisitUnaryExpression(expression); }
public override DbExpression Visit(DbTreatExpression expression) { EntityUtil.CheckArgumentNull(expression, "expression"); return(this.VisitTypeUnary(expression, expression.ResultType, CqtBuilder.TreatAs)); }