Exemple #1
0
        public virtual void WriteEntity(StreamWriter sw, int i)
        {
            cSqlValueList vlist = new cSqlValueList();
            cBaseItem     be    = null;

            be = (cBaseItem)dlist[i];
            if (be != null)
            {
                vlist.Reset();
                vlist.Mode = 1; // for file

                for (int j = 0; j < be.data.Count; ++j)
                {
                    vlist.Add(be.data[j]);
                }

                // write line to file
                sw.WriteLine(vlist.SQL);
            }
        }
Exemple #2
0
        public virtual void WriteEntity(StreamWriter sw, int i)
        {
            cSqlValueList vlist = new cSqlValueList();
            cBaseItem be = null;
            be = (cBaseItem)dlist[i];
            if (be != null)
            {
                vlist.Reset();
                vlist.Mode = 1; // for file

                for (int j = 0; j < be.data.Count; ++j)
                {
                    vlist.Add(be.data[j]);
                }

                // write line to file
                sw.WriteLine(vlist.SQL);
            }
        }
Exemple #3
0
 public cDBItemList()
 {
     dlist = new ArrayList();
     nlist = new ArrayList();
     vlist = new cSqlValueList();
 }
Exemple #4
0
 public cDBItemList()
 {
     dlist = new ArrayList();
     nlist = new ArrayList();
     vlist = new cSqlValueList();
 }