Exemplo n.º 1
0
 public SelectQuery(IProjectedSelectQueryExecutor selectQueryExecutor)
 {
     this.executor          = selectQueryExecutor;
     this.Fetches           = new List <Expression>();
     this.OrderClauses      = new Queue <OrderClause <T> >();
     this.WhereClauses      = new List <Expression <Func <T, bool> > >();
     this.CollectionFetches = new List <KeyValuePair <Expression, List <Expression> > >();
 }
Exemplo n.º 2
0
 public ProjectedSelectQuery(IProjectedSelectQueryExecutor executor, SelectQuery <TBase> baseSelectQuery, Expression <Func <TBase, TProjection> > projectionExpression)
 {
     this.executor             = executor;
     this.BaseSelectQuery      = baseSelectQuery;
     this.ProjectionExpression = projectionExpression;
 }