protected override Expression VisitMListProjection(MListProjectionExpression mlp)
 {
     var oldInEntity = inMList;
     inMList = true;
     var result = VisitProjection(mlp.Projection);
     inMList = oldInEntity;
     return result;
 }
示例#2
0
        protected internal virtual Expression VisitMListProjection(MListProjectionExpression mlp)
        {
            var proj = (ProjectionExpression)Visit(mlp.Projection);

            if (proj != mlp.Projection)
            {
                return(new MListProjectionExpression(mlp.Type, proj));
            }
            return(mlp);
        }
        protected internal override Expression VisitMListProjection(MListProjectionExpression mlp)
        {
            var oldInEntity = inMList;

            inMList = mlp.Type;
            var result = VisitProjection(mlp.Projection);

            inMList = oldInEntity;
            return(result);
        }
示例#4
0
 protected virtual Expression VisitMListProjection(MListProjectionExpression mlp)
 {
     var proj = (ProjectionExpression)Visit(mlp.Projection);
     if (proj != mlp.Projection)
         return new MListProjectionExpression(mlp.Type, proj);
     return mlp;
 }