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