Beispiel #1
0
        public ScrapReasonCollection FetchByQuery(Query qry)
        {
            ScrapReasonCollection coll = new ScrapReasonCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public ScrapReasonCollection FetchAll()
        {
            ScrapReasonCollection coll = new ScrapReasonCollection();
            Query qry = new Query(ScrapReason.Schema);

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