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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }