Пример #1
0
 public SelectQueryJoin(ISqoQuery <TOuter> outer, IEnumerable <TInner> inner, Func <TOuter, TKey> outerKeySelector, Func <TInner, TKey> innerKeySelector, Func <TOuter, TInner, TResult> resultSelector)
 {
     this.inner            = inner;
     this.outerKeySelector = outerKeySelector;
     this.innerKeySelector = innerKeySelector;
     this.resultSelector   = resultSelector;
     this.query            = outer;
 }
Пример #2
0
 public ProjectionReader(List <SqoColumn> columns, Func <ProjectionRow, T> projector, ISqoQuery <TOuter> SqoQueryOuter, ISqoQuery <TInner> SqoQueryInner, Expression outer, Expression inner)
 {
     this.enumerator      = new Enumerator(columns, projector);
     this.outerExpression = outer;
     this.innerExpression = inner;
     this.SqoQueryInner   = SqoQueryInner;
     this.SqoQueryOuter   = SqoQueryOuter;
 }
Пример #3
0
 public SelectQuery(Func <T, V> selector, ISqoQuery <T> query)
 {
     this.selector = selector;
     this.query    = query;
 }
Пример #4
0
 public SelectQueryWhere(Func <T, bool> predicate, ISqoQuery <T> query)
 {
     this.predicate = predicate;
     this.query     = query;
 }