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

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

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