コード例 #1
0
 private SqlTable RunDelegate(ChooseTableFunc chooseTable, string argumentName = null)
 {
     return(chooseTable?.Invoke(t1, t2, t3, t4) ?? throw new ArgumentException(argumentName ?? nameof(chooseTable)));
 }
コード例 #2
0
 public SqlSelectBuilder <T1, T2, T3, T4> RightJoin(ChooseTableFunc chooseTable, ChooseOperatorFunc on     = null) => base.RightJoin(RunDelegate(chooseTable), RunDelegate(on, nameof(on)));
コード例 #3
0
 public SqlSelectBuilder <T1, T2, T3, T4> From(ChooseTableFunc chooseTable) => base.From(RunDelegate(chooseTable));
コード例 #4
0
 public SqlSelectBuilder <T1, T2, T3, T4> Join(JoinType joinType, ChooseTableFunc chooseTable, ChooseOperatorFunc on = null) => base.Join(joinType, RunDelegate(chooseTable), RunDelegate(on, nameof(on)));
コード例 #5
0
 public SqlSelectBuilder <T1, T2> FullOuterJoin(ChooseTableFunc chooseTable, ChooseOperatorFunc on = null) => base.FullOuterJoin(RunDelegate(chooseTable), RunDelegate(on, nameof(on)));