/// <summary> /// Renders the column name, table expression reference, and alias. /// </summary> /// <param name="writer"></param> /// <param name="args"></param> protected override void Render(SqlTextWriter writer, SqlBuildArguments args) { if (this.Aggregate == SqlAggregate.None) { writer.WriteColumnName(this.ColumnName, args.TableName(this.Table), this.Alias); } else { writer.WriteAggregateColumn(this.ColumnName, args.TableName(this.Table), this.Aggregate, this.Alias); } }