protected override void ReadLine(BinaryReader reader) { Career.RowData rowData = new Career.RowData(); base.Read <int>(reader, ref rowData.SortId, CVSReader.intParse); this.columnno = 0; base.Read <string>(reader, ref rowData.TabName, CVSReader.stringParse); this.columnno = 1; base.Read <int>(reader, ref rowData.ID, CVSReader.intParse); this.columnno = 2; this.Table.Add(rowData); this.columnno = -1; }
protected override bool OnLine(string[] Fields) { Career.RowData rowData = new Career.RowData(); if (!base.Parse(Fields[this.ColMap[0]], ref rowData.SortId)) { return(false); } if (!base.Parse(Fields[this.ColMap[1]], ref rowData.TabName)) { return(false); } if (!base.Parse(Fields[this.ColMap[2]], ref rowData.ID)) { return(false); } this.Table.Add(rowData); return(true); }