protected override IList<ColumnBinding> BuildColumns() { List<ColumnBinding> result = new List<ColumnBinding>(); foreach (SelectColumn selectColumn in _query.GetColumns()) { DerivedColumnBinding derivedColumnBinding = new DerivedColumnBinding(this, selectColumn.Alias.Text, selectColumn.Expression.ExpressionType); result.Add(derivedColumnBinding); } return result; }
protected override IList <ColumnBinding> BuildColumns() { List <ColumnBinding> result = new List <ColumnBinding>(); foreach (SelectColumn selectColumn in _anchorMember.GetColumns()) { DerivedColumnBinding derivedColumnBinding = new DerivedColumnBinding(this, selectColumn.Alias.Text, selectColumn.Expression.ExpressionType); result.Add(derivedColumnBinding); } return(result); }