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