public static ValueNode Col(ITableReference r, string colDef) { return(ValueNode.NewColumn(new Tuple <string, Type, ITableReference>(colDef, FigureOutTypeFor(colDef, r), r))); }
public static ValueNode Col <TTable>(TableReferenceCreator <TTable> c, string colDef) { var tref = c.ToTableReference().Reference; return(ValueNode.NewColumn(new Tuple <string, Type, ITableReference>(colDef, FigureOutTypeFor(colDef, tref), tref))); }
public static ValueNode Col <TTableType>(string columnDef) { var tref = Types.TableReferenceFromType <TTableType>(); return(ValueNode.NewColumn(new Tuple <string, Type, ITableReference>(columnDef, FigureOutTypeFor(columnDef, tref), tref))); }
public static ValueNode Col <TTable>(ITableIdentifier <TTable> r, string columnDef) { return(ValueNode.NewColumn(new Tuple <string, Type, ITableReference>(columnDef, FigureOutTypeFor(columnDef, r.Reference), r.Reference))); }
public static ValueNode AliasedCol <TTable>(string colDef, string alias) { var tref = Types.TableReferenceFromType <TTable>(); return(AliasedCol(ValueNode.NewColumn(new Tuple <string, Type, ITableReference>(colDef, FigureOutTypeFor(colDef, tref), tref)), alias)); }