示例#1
0
 public InfoBankCollection FetchAll()
 {
     InfoBankCollection coll = new InfoBankCollection();
     Query qry = new Query(InfoBank.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#2
0
 public InfoBankCollection FetchByQuery(Query qry)
 {
     InfoBankCollection coll = new InfoBankCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }