Ejemplo n.º 1
0
 public static AST.ICommonTableDefinition TableDef <TType>(
     TableReferenceCreator <TType> c,
     SetSelectExpression expr)
 {
     return
         (new AST.CommonTableDefinition <TType>(PlainSelectExpression.NewSet(expr), c));
 }
Ejemplo n.º 2
0
 public static SqlExpression SelectNode(
     CommonTableExpression with,
     SetSelectExpression select)
 {
     return
         (SqlExpression.NewSelect(
              SelectExpression.NewComplex(
                  new Tuple <CommonTableExpression, PlainSelectExpression>(
                      with,
                      PlainSelectExpression.NewSet(select)))));
 }
Ejemplo n.º 3
0
 public static AST.ICommonTableDefinition TableDef <TType>(SetSelectExpression expr)
 {
     return(new AST.CommonTableDefinition <TType>(PlainSelectExpression.NewSet(expr), new TableIdentifier <TType>()));
 }