Exemple #1
0
 public static ValueNode Col(ITableReference r, string colDef)
 {
     return(ValueNode.NewColumn(new Tuple <string, Type, ITableReference>(colDef, FigureOutTypeFor(colDef, r), r)));
 }
Exemple #2
0
        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)));
        }
Exemple #3
0
        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)));
        }
Exemple #4
0
 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)));
 }
Exemple #5
0
        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));
        }