Example #1
0
 public kopaCodesListRec this[int row]
 {
     get
     {
         DataRow          wRow = Rows[row];
         kopaCodesListRec wRec = new kopaCodesListRec();
         wRec.setId       = (string)wRow[cSetId];
         wRec.period      = (string)wRow[cPeriod];
         wRec.ecoCode     = (string)wRow[cEcoCode];
         wRec.pageId      = (string)wRow[cPageId];
         wRec.kopaCode    = (string)wRow[cKopaCode];
         wRec.description = (string)wRow[cDescription];
         wRec.disUsed     = (int)wRow[cDisUsed];
         return(wRec);
     }
     set
     {
         DataRow wRow = Rows[row];
         wRow[cSetId]       = value.setId;
         wRow[cPeriod]      = value.period;
         wRow[cEcoCode]     = value.ecoCode;
         wRow[cPageId]      = value.pageId;
         wRow[cKopaCode]    = value.kopaCode;
         wRow[cDescription] = value.description;
         wRow[cDisUsed]     = value.disUsed;
     }
 }
Example #2
0
 public void ListLoad(Connect aConnect)
 {
     List(aConnect);
     while (ListFetch())
     {
         mList.Add(mRec);
         mRec = new kopaCodesListRec();
     }
 }
Example #3
0
 public void Clear()
 {
     mList = new ArrayList();
     mRec  = new kopaCodesListRec();
 }