Example #1
0
        public JoinClause <T> CrossApply(TableValuedFunction tvFunction, Predicate onPredicate)
        {
            var clause = new CrossApply <T>(this.Statement, tvFunction, onPredicate);

            this.NextFragment = clause;
            return(clause);
        }
Example #2
0
 public JoinClause <T> CrossApply(TableValuedFunction tvFunction, Predicate onSearchCondition)
 {
     if (tvFunction == null)
     {
         throw new ArgumentNullException("tvFunction");
     }
     if (onSearchCondition == null)
     {
         throw new ArgumentNullException("onSearchCondition");
     }
     return(this.NextClause(new CrossApply <T>(this.Statement, tvFunction, onSearchCondition)));
 }
Example #3
0
 public CrossApply(T statement, TableValuedFunction tableValuedFunction, Predicate onPredicate)
     : base(statement)
 {
     if (tableValuedFunction == null)
     {
         throw new ArgumentNullException("tableValuedFunction");
     }
     if (onPredicate == null)
     {
         throw new ArgumentNullException("onPredicate");
     }
     this.TableValuedFunction = tableValuedFunction;
     this.OnPredicate         = onPredicate;
 }
Example #4
0
 public void TableValuedFunction(SqlFragment parent, TableValuedFunction tableValuedFunction)
 {
 }