Exemplo n.º 1
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (ColumnOfValues != null)
     {
         List <Expression> ColumnOfValues2 = new List <Expression>();
         ColumnOfValues.ForEach(a =>
         {
             Expression e2 = (Expression)a.Expolore(del);
             if (e2 != null)
             {
                 ColumnOfValues2.Add(e2);
             }
         });
         ColumnOfValues.Replace(ColumnOfValues2);
     }
     if (Values != null)
     {
         List <SubExpression> Values2 = new List <SubExpression>();
         Values.ForEach(a =>
         {
             SubExpression e2 = (SubExpression)a.Expolore(del);
             if (e2 != null)
             {
                 Values2.Add(e2);
             }
         });
         Values.Replace(Values2);
     }
     if (Select != null)
     {
         Select.Expolore(del);
     }
     return(base.Expolore(del));
 }
Exemplo n.º 2
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (Where != null)
     {
         Where = (Expression)Where.Expolore(del);
     }
     return(base.Expolore(del));
 }
Exemplo n.º 3
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (Column != null)
     {
         Column = (Expression)Column.Expolore(del);
     }
     if (Value != null)
     {
         Value = (Expression)Value.Expolore(del);
     }
     return(base.Expolore(del));
 }
Exemplo n.º 4
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (OnExpression != null)
     {
         OnExpression = (Expression)OnExpression.Expolore(del);
     }
     if (Table != null)
     {
         Table = (ITableDesc)Table.Expolore(del);
     }
     return(base.Expolore(del));
 }
Exemplo n.º 5
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (Childs != null)
     {
         TokenList <Expression> Childs2 = new TokenList <Expression>(this);
         foreach (var e in Childs)
         {
             Expression e2 = (Expression)e.Expolore(del);
             if (e2 != null)
             {
                 Childs2.Add(e2);
             }
         }
         Childs = Childs2;
     }
     return(base.Expolore(del));
 }
Exemplo n.º 6
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (Columns != null)
     {
         List <ColumnClause> column2 = new List <ColumnClause>();
         foreach (var cc in Columns)
         {
             var cc2 = (ColumnClause)cc.Expolore(del);
             if (cc2 != null)
             {
                 column2.Add(cc2);
             }
         }
         Columns.Replace(column2);
     }
     return(base.Expolore(del));
 }
Exemplo n.º 7
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (Columns != null && Columns.Count > 0)
     {
         var Columns2 = new TokenList <AlterColumnInfo>(this);
         foreach (var e in Columns)
         {
             var t = (AlterColumnInfo)e.Expolore(del);
             if (t != null)
             {
                 Columns2.Add(t);
             }
         }
         Columns = Columns2;
     }
     return(base.Expolore(del));
 }
Exemplo n.º 8
0
        public override IExplore Expolore(DelegateExpessionExplorer del)
        {
            if (TableClause != null)
            {
                TableClause = (TableClause)TableClause.Expolore(del);
            }
            List <ColumnClause> Returning2 = new List <ColumnClause>();

            ReturningColumns.ForEach(a =>
            {
                ColumnClause ss = (ColumnClause)a.Expolore(del);
                if (ss != null)
                {
                    Returning2.Add(ss);
                }
            });
            ReturningColumns.Replace(Returning2);
            return(base.Expolore(del));
        }
Exemplo n.º 9
0
        public override IExplore Expolore(DelegateExpessionExplorer del)
        {
            List <SetClause> Set2 = new List <SetClause>();

            Set.ForEach(a =>
            {
                SetClause ss = (SetClause)a.Expolore(del);
                if (ss != null)
                {
                    Set2.Add(ss);
                }
            });
            Set.Replace(Set2);
            if (Where != null)
            {
                Where = (Expression)Where.Expolore(del);
            }

            return(base.Expolore(del));
        }
Exemplo n.º 10
0
        public override IExplore Expolore(DelegateExpessionExplorer del)
        {
            List <TableClause> Tables2 = new List <TableClause>();

            Tables.ForEach(a =>
            {
                TableClause g2 = (TableClause)a.Expolore(del);
                if (g2 != null)
                {
                    Tables2.Add(g2);
                }
            });
            Tables.Replace(Tables2);
            List <ColumnClause> Columns2 = new List <ColumnClause>();

            Columns.ForEach(a =>
            {
                ColumnClause c = (ColumnClause)a.Expolore(del);
                if (c != null)
                {
                    Columns2.Add(c);
                }
            }
                            );
            Columns.Replace(Columns2);
            if (WhereExpr != null)
            {
                WhereExpr = (Expression)WhereExpr.Expolore(del);
            }
            if (GroupBys != null)
            {
                List <GroupByClause> GroupBys2 = new List <GroupByClause>();
                GroupBys.ForEach(a =>
                {
                    GroupByClause g2 = (GroupByClause)a.Expolore(del);
                    if (g2 != null)
                    {
                        GroupBys2.Add(g2);
                    }
                });
                GroupBys.Replace(GroupBys2);
            }
            if (Having != null)
            {
                Having = (Expression)Having.Expolore(del);
            }
            if (OrderBys != null)
            {
                List <OrderByClause> OrderBys2 = new List <OrderByClause>();
                OrderBys.ForEach(a =>
                {
                    OrderByClause g2 = (OrderByClause)a.Expolore(del);
                    if (g2 != null)
                    {
                        OrderBys2.Add(g2);
                    }
                });
                OrderBys.Replace(OrderBys2);
            }



            if (ExtSelects != null && ExtSelects.Count > 0)
            {
                var ExtSelects2 = new TokenList <ExtSelectClause>(this);
                foreach (var e in ExtSelects)
                {
                    var t = (ExtSelectClause)e.Expolore(del);
                    if (t != null)
                    {
                        ExtSelects2.Add(t);
                    }
                }
                ExtSelects = ExtSelects2;
            }
            return(base.Expolore(del));
        }
Exemplo n.º 11
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     AsSelect = AsSelect.Expolore(del) as SelectExpresion;
     return(base.Expolore(del));
 }
Exemplo n.º 12
0
 public virtual IExplore Expolore(DelegateExpessionExplorer del)
 {
     return(del(this));
 }
Exemplo n.º 13
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     Expression = (Expression)Expression.Expolore(del);
     return(base.Expolore(del));
 }
Exemplo n.º 14
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     if (ColumnExpression != null) ColumnExpression = (Expression)ColumnExpression.Expolore(del);
     return del(this);
 }
Exemplo n.º 15
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     return(base.Expolore(del));
 }
Exemplo n.º 16
0
 public override IExplore Expolore(DelegateExpessionExplorer del)
 {
     Select = (SelectExpresion)Select.Expolore(del);
     return(base.Expolore(del));
 }