コード例 #1
0
        public MarketCollection FetchByQuery(Query qry)
        {
            MarketCollection coll = new MarketCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public MarketCollection FetchAll()
        {
            MarketCollection coll = new MarketCollection();
            Query            qry  = new Query(Market.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public MarketCollection FetchByID(object MarketKey)
        {
            MarketCollection coll = new MarketCollection().Where("market_key", MarketKey).Load();

            return(coll);
        }