Example #1
0
        public ExchangeCollection FetchByQuery(Query qry)
        {
            ExchangeCollection coll = new ExchangeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public ExchangeCollection FetchAll()
        {
            ExchangeCollection coll = new ExchangeCollection();
            Query qry = new Query(Exchange.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public ExchangeCollection FetchByID(object ExchangeKey)
        {
            ExchangeCollection coll = new ExchangeCollection().Where("exchange_key", ExchangeKey).Load();

            return(coll);
        }