Example #1
0
        public SelectQuery <TPoco> SynteticColumn(string column, out QueryIdentifier identifier)
        {
            var selectableQueryPart = ContainerObject.SearchLast <SelectTableQueryPart>();
            var columnInfo          = new ColumnInfo(column, selectableQueryPart.Alias, ContainerObject);

            columnInfo.ColumnIdentifierEntry = ContainerObject.CreateColumnAlias(column);
            identifier = columnInfo.ColumnIdentifierEntry;
            selectableQueryPart._columns.Add(columnInfo);
            return(this);
        }