public InfoBankCollection FetchAll() { InfoBankCollection coll = new InfoBankCollection(); Query qry = new Query(InfoBank.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public InfoBankCollection FetchByQuery(Query qry) { InfoBankCollection coll = new InfoBankCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public InfoBankCollection FetchByID(object InfoBankKey) { InfoBankCollection coll = new InfoBankCollection().Where("info_bank_key", InfoBankKey).Load(); return coll; }