Exemple #1
0
        protected internal override Expression VisitMList(MListExpression ml)
        {
            var proj = binder.MListProjection(ml, withRowId: true);

            var newProj = (ProjectionExpression)this.Visit(proj);

            return(new MListProjectionExpression(ml.Type, newProj));
        }
        protected internal virtual Expression VisitMList(MListExpression ml)
        {
            var newBackID = Visit(ml.BackID);

            if (newBackID != ml.BackID)
            {
                return(new MListExpression(ml.Type, newBackID, ml.TableMList));
            }
            return(ml);
        }
Exemple #3
0
        protected internal virtual Expression VisitMList(MListExpression ml)
        {
            var newBackID      = (PrimaryKeyExpression)Visit(ml.BackID);
            var externalPeriod = (IntervalExpression)Visit(ml.ExternalPeriod);

            if (newBackID != ml.BackID || externalPeriod != ml.ExternalPeriod)
            {
                return(new MListExpression(ml.Type, newBackID, externalPeriod, ml.TableMList));
            }
            return(ml);
        }
 protected internal override Expression VisitMList(MListExpression ml)
 {
     throw InvalidSqlExpression(ml);
 }
Exemple #5
0
 protected virtual bool CompareMList(MListExpression a, MListExpression b)
 {
     return(a.TableMList == b.TableMList &&
            Compare(a.BackID, b.BackID));
 }
 protected virtual Expression VisitMList(MListExpression ml)
 {
     var newBackID = Visit(ml.BackID);
     if (newBackID != ml.BackID)
         return new MListExpression(ml.Type, newBackID, ml.TableMList);
     return ml;
 }
Exemple #7
0
        protected override Expression VisitMList(MListExpression ml)
        {
            var proj = binder.MListProjection(ml);

            var newProj = (ProjectionExpression)this.Visit(proj);

            return new MListProjectionExpression(ml.Type, newProj);
        }
Exemple #8
0
        protected internal override Expression VisitMList(MListExpression ml)
        {
            var proj = binder.MListProjection(ml, withRowId: true);

            var newProj = (ProjectionExpression)this.Visit(proj);

            return new MListProjectionExpression(ml.Type, newProj);
        }
Exemple #9
0
 protected override Expression VisitMList(MListExpression ml)
 {
     throw InvalidSqlExpression(ml);
 }