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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public ScrapReasonCollection FetchByID(object ScrapReasonID)
        {
            ScrapReasonCollection coll = new ScrapReasonCollection().Where("ScrapReasonID", ScrapReasonID).Load();

            return(coll);
        }