Пример #1
0
 public InfoCountryListCollection FetchAll()
 {
     InfoCountryListCollection coll = new InfoCountryListCollection();
     Query qry = new Query(InfoCountryList.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #2
0
 public InfoCountryListCollection FetchByQuery(Query qry)
 {
     InfoCountryListCollection coll = new InfoCountryListCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #3
0
 public InfoCountryListCollection FetchByID(object InfoCountryKey)
 {
     InfoCountryListCollection coll = new InfoCountryListCollection().Where("info_country_key", InfoCountryKey).Load();
     return coll;
 }