Exemplo n.º 1
0
 public static ProjectionExpression Remove(ProjectionExpression projection, params SelectExpression[] selectsToRemove)
 {
     return(Remove(projection, (IEnumerable <SelectExpression>)selectsToRemove));
 }
Exemplo n.º 2
0
 public ClientJoinExpression(ProjectionExpression projection, IEnumerable <Expression> outerKey, IEnumerable <Expression> innerKey) : base(DbExpressionType.ClientJoin, projection.Type)
 {
     this.outerKey   = outerKey.ToReadOnly <Expression>();
     this.innerKey   = innerKey.ToReadOnly <Expression>();
     this.projection = projection;
 }
Exemplo n.º 3
0
 public static ProjectionExpression Remove(ProjectionExpression projection, IEnumerable <SelectExpression> selectsToRemove)
 {
     return((ProjectionExpression) new SubqueryRemover(selectsToRemove).Visit(projection));
 }
Exemplo n.º 4
0
        protected override Expression VisitProjection(ProjectionExpression proj)
        {
            SelectExpression select = (SelectExpression)this.Visit(proj.Select);

            return(base.UpdateProjection(proj, select, proj.Projector, proj.Aggregator));
        }