Пример #1
0
        public MarketsStaticCollection FetchByQuery(Query qry)
        {
            MarketsStaticCollection coll = new MarketsStaticCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public MarketsStaticCollection FetchAll()
        {
            MarketsStaticCollection coll = new MarketsStaticCollection();
            Query qry = new Query(MarketsStatic.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public MarketsStaticCollection FetchByID(object MarketStaticKey)
        {
            MarketsStaticCollection coll = new MarketsStaticCollection().Where("market_static_key", MarketStaticKey).Load();

            return(coll);
        }