Beispiel #1
0
 protected SqlSelectBase(SqlSelectInfo info, ISqlSelectQueryBuilder queryBuilder)
 {
     Info         = info;
     QueryBuilder = queryBuilder;
 }
Beispiel #2
0
 protected DbParameter[] GetFilterParameters(SqlSelectInfo info)
 => Info.Where()?.Parameters?
 .Concat(Info.Having()?.Parameters ?? new DbParameter[0]).ToArray()
 ?? Info.Having()?.Parameters
 ?? new DbParameter[0];
Beispiel #3
0
 private SqlSelect CreateSqlSelect(SqlSelectInfo info) => new SqlSelect(_innerSqlSelect, info, QueryBuilder);
Beispiel #4
0
 private SqlSelect(ISqlSelect innerSqlSelect, SqlSelectInfo info, ISqlSelectQueryBuilder queryBuilder) : base(info, queryBuilder)
 {
     _innerSqlSelect = innerSqlSelect ?? throw new ArgumentNullException(nameof(innerSqlSelect));
 }
Beispiel #5
0
 private SqlSelect<T> CreateSqlSelect(SqlSelectInfo info) => new SqlSelect<T>(info, QueryBuilder);
Beispiel #6
0
 private SqlSelect(SqlSelectInfo info, ISqlSelectQueryBuilder queryBuilder) : base(info, queryBuilder)
 {
 }