public MarketCollection FetchByQuery(Query qry) { MarketCollection coll = new MarketCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MarketCollection FetchAll() { MarketCollection coll = new MarketCollection(); Query qry = new Query(Market.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public MarketCollection FetchByID(object MarketKey) { MarketCollection coll = new MarketCollection().Where("market_key", MarketKey).Load(); return(coll); }