示例#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;
 }
示例#3
0
 public InfoBankCollection FetchByID(object InfoBankKey)
 {
     InfoBankCollection coll = new InfoBankCollection().Where("info_bank_key", InfoBankKey).Load();
     return coll;
 }