Пример #1
0
 public void LeftOuterJoin <T>(SqlFragment parent, LeftOuterJoin <T> leftOuterJoin) where T : IStatement
 {
     this.Script.Append(TSqlKeyword.LEFT_OUTER_JOIN);
     this.Script.AppendFragment(leftOuterJoin.Table, parent, this);
     this.Script.Append(TSqlKeyword.ON);
     this.Script.AppendFragment(leftOuterJoin.OnPredicate, parent, this);
 }
Пример #2
0
        public JoinClause <T> LeftOuterJoin(Table table, Predicate onPredicate)
        {
            var clause = new LeftOuterJoin <T>(this.Statement, table, onPredicate);

            this.NextFragment = clause;
            return(clause);
        }