Exemplo n.º 1
0
        public CurrencyRateCollection FetchByQuery(Query qry)
        {
            CurrencyRateCollection coll = new CurrencyRateCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public CurrencyRateCollection FetchAll()
        {
            CurrencyRateCollection coll = new CurrencyRateCollection();
            Query qry = new Query(CurrencyRate.Schema);

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

            return(coll);
        }