示例#1
0
		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;
		}
示例#2
0
        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);
        }