public ExchangeCollection FetchByQuery(Query qry) { ExchangeCollection coll = new ExchangeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExchangeCollection FetchAll() { ExchangeCollection coll = new ExchangeCollection(); Query qry = new Query(Exchange.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ExchangeCollection FetchByID(object ExchangeKey) { ExchangeCollection coll = new ExchangeCollection().Where("exchange_key", ExchangeKey).Load(); return(coll); }