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); } }
public cDBItemList() { dlist = new ArrayList(); nlist = new ArrayList(); vlist = new cSqlValueList(); }