public void Visit(CaseWhenField component) { sql.Append("(CASE"); foreach (var conditionValue in component.Conditions) { sql.Append(" WHEN "); conditionValue.Key.Accept(this); sql.Append(" THEN "); conditionValue.Value.Accept(this); } if (component.Else != null) { sql.Append(" ELSE "); component.Else.Accept(this); } sql.Append(" END)"); }
public void Visit(CaseWhenField component) { throw new NotImplementedException(); }