Exemplo n.º 1
0
 protected override Expression VisitMListProjection(MListProjectionExpression mlp)
 {
     var oldInEntity = inMList;
     inMList = true;
     var result = VisitProjection(mlp.Projection);
     inMList = oldInEntity;
     return result;
 }
Exemplo n.º 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);
        }
Exemplo n.º 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;
 }