Esempio n. 1
0
        public MarketDatumCollection FetchByQuery(Query qry)
        {
            MarketDatumCollection coll = new MarketDatumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public MarketDatumCollection FetchAll()
        {
            MarketDatumCollection coll = new MarketDatumCollection();
            Query qry = new Query(MarketDatum.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public MarketDatumCollection FetchByID(object MarketKey)
        {
            MarketDatumCollection coll = new MarketDatumCollection().Where("market_key", MarketKey).Load();

            return(coll);
        }