public void CrossApply <T>(SqlFragment parent, CrossApply <T> crossApply) where T : IStatement { this.Script.Append(TSqlKeyword.CROSS_APPLY); this.Script.AppendFragment(crossApply.TableValuedFunction, parent, this); this.Script.Append(TSqlKeyword.ON); this.Script.AppendFragment(crossApply.OnPredicate, parent, this); }
public JoinClause <T> CrossApply(TableValuedFunction tvFunction, Predicate onPredicate) { var clause = new CrossApply <T>(this.Statement, tvFunction, onPredicate); this.NextFragment = clause; return(clause); }