示例#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);
            }
        }
示例#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);
            }
        }
示例#3
0
 public cDBItemList()
 {
     dlist = new ArrayList();
     nlist = new ArrayList();
     vlist = new cSqlValueList();
 }
示例#4
0
 public cDBItemList()
 {
     dlist = new ArrayList();
     nlist = new ArrayList();
     vlist = new cSqlValueList();
 }