Beispiel #1
0
 public MyQuery Append(String Format, params Object[] Params)
 {
     if (Params == null || Params.Length == 0)
     {
         _txt.Append(Format);
         return(this);
     }
     else
     {
         _txt.Append(QueryProvider.Format(Format, Params));
         return(this);
     }
 }
Beispiel #2
0
        //////////////////////////////

        public MyQuery Insert(Int32 Index, String Format, params Object[] Params)
        {
            if (Params == null || Params.Length == 0)
            {
                _txt.Insert(Index, Format);
                return(this);
            }
            else
            {
                _txt.Insert(Index, QueryProvider.Format(Format, Params));
                return(this);
            }
        }