public SqlColumnAlias(SqlTableAlias sqlTableAlias, SqlColumn sqlColumn, string alias)
		{
			this.Parent = sqlTableAlias;
			this.sqlColumn = sqlColumn;
			this.alias = alias;
			sqlTableAlias.SqlColumnAliases.Add(this);
		}
 public SqlAliasSelectListItem AddSqlAliasSelectListItem(SqlColumn sqlColumn)
 {
     SqlColumnAlias sqlColumnAlias = this.SqlStatement.GetSqlColumnAlias(sqlColumn.Name, sqlColumn.SqlTable.Name);
     return AddSqlAliasSelectListItem(sqlColumnAlias) ;
 }
 public virtual void Visiting(SqlColumn column)
 {
     sqlBuilder.Append(EncapsulateTable(column.SqlTable.Name) + ".");
     string columnName = column.Name;
     sqlBuilder.Append(Encapsulate(columnName));
 }
 public virtual void Visited(SqlColumn column)
 {
     //
 }
 public override void Visiting(SqlColumn column)
 {
     SqlBuilder.Append(Encapsulate(column.Name));
 }
 public void AddSqlColumnAndValue(SqlColumn sqlColumn, SqlExpression sqlExpression)
 {
     this.sqlColumnList.Add(sqlColumn);
     this.valueList.Add(sqlExpression);
 }
		public SqlColumnAlias(SqlTableAlias sqlTableAlias, SqlColumn sqlColumn) : this(sqlTableAlias, sqlColumn, "") {}
 public SqlColumn GetSqlColumn(string name, string tableName)
 {
     SqlTable sqlTable = GetSqlTable(tableName);
     SqlColumn sqlColumn = FindSqlColumn(sqlTable, name) ;
     if (sqlColumn == null)
         sqlColumn = new SqlColumn(sqlTable, name) ;
     return sqlColumn;
 }
 public SqlColumn GetSqlColumn(IColumnMap columnMap)
 {
     SqlTable sqlTable = GetSqlTable(columnMap.TableMap);
     SqlColumn sqlColumn = FindSqlColumn(sqlTable, columnMap.Name) ;
     if (sqlColumn == null)
         sqlColumn = new SqlColumn(sqlTable, columnMap) ;
     return sqlColumn;
 }
 public SqlColumnAlias(SqlTableAlias sqlTableAlias, SqlColumn sqlColumn) : this(sqlTableAlias, sqlColumn, "")
 {
 }
 public SqlColumn GetSqlColumn(string name)
 {
     SqlColumn sqlColumn = FindSqlColumn(name) ;
     if (sqlColumn == null)
         sqlColumn = new SqlColumn(this, name) ;
     return sqlColumn;
 }
 public SqlColumn GetSqlColumn(IColumnMap columnMap)
 {
     SqlColumn sqlColumn = FindSqlColumn(columnMap.Name) ;
     if (sqlColumn == null)
         sqlColumn = new SqlColumn(this, columnMap) ;
     return sqlColumn;
 }
 public void AddSqlColumnAndValue(SqlColumn sqlColumn, SqlExpression sqlExpression)
 {
     this.sqlColumnList.Add(sqlColumn);
     this.valueList.Add(sqlExpression);
 }
 public string GenerateAlias(SqlColumn sqlColumn)
 {
     throw new IAmOpenSourcePleaseImplementMeException();
 }