예제 #1
0
        public CurrencyRateCollection FetchByQuery(Query qry)
        {
            CurrencyRateCollection coll = new CurrencyRateCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public CurrencyRateCollection FetchAll()
        {
            CurrencyRateCollection coll = new CurrencyRateCollection();
            Query qry = new Query(CurrencyRate.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public CurrencyRateCollection FetchByID(object CurrencyRateID)
        {
            CurrencyRateCollection coll = new CurrencyRateCollection().Where("CurrencyRateID", CurrencyRateID).Load();

            return(coll);
        }