public static JoinedTables Inner(ITableExpression table, ITableExpression withTable, ILogicalCondition on, string alias) { return new JoinedTables() {Table = table, JoinedWith = withTable, On = on, Alias = alias, JoinType = JoinType.INNERJOIN}; }
public static JoinedTables Left(ITableExpression table, ITableExpression withTable, ILogicalCondition on) { return new JoinedTables() {Table = table, JoinedWith = withTable, On = on, JoinType = JoinType.LEFTJOIN}; }
public static ILogicalCondition Not(ILogicalCondition condition) { return new LogicalNot() {Condition = condition}; }