Remotion.Linq.SqlBackend.SqlGeneration.SqlGeneratingSelectExpressionVisitor.AppendColumnForEntity C# (CSharp) Method

AppendColumnForEntity() protected method

protected AppendColumnForEntity ( SqlEntityExpression entity, SqlColumnExpression column ) : void
entity Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression
column Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlColumnExpression
return void
    protected override void AppendColumnForEntity (SqlEntityExpression entity, SqlColumnExpression column)
    {
      column.Accept (this);
      
      string alias = GetAliasForColumnOfEntity(column, entity);
      if (alias != null)
      {
        CommandBuilder.Append (" AS ");
        CommandBuilder.AppendIdentifier (alias);
      }
    }