Ejemplo n.º 1
0
 public string ToString(bool addExecutionTime)
 {
     if (Parent.Updated)
     {
         List <string> queries = new List <string>();
         GXDbHelpers.GetQueries(true, Parent.Settings, Values, Excluded, queries);
         sql = string.Join(" ", queries.ToArray());
     }
     return(sql);
 }
Ejemplo n.º 2
0
 public override string ToString()
 {
     if (Parent.Updated)
     {
         List <string> queries = new List <string>();
         GXDbHelpers.GetQueries(true, Parent.Settings, Values, queries);
         sql = string.Join(" ", queries.ToArray());
     }
     return(sql);
 }
Ejemplo n.º 3
0
        public string ToString(bool addExecutionTime)
        {
            if (Parent.Updated)
            {
                List <string> queries = new List <string>();
                if (Where.List.Count == 0)
                {
                    //Get inserted items.
                    GXDbHelpers.GetQueries(true, Parent.Settings, Values, Excluded, queries, Where, null);
                }

                //Get updated items.
                GXDbHelpers.GetQueries(false, Parent.Settings, Values, Excluded, queries, Where, null);
                sql = string.Join(" ", queries.ToArray());
            }
            return(sql);
        }