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

            coll.Load(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public CategoryCollection FetchAll()
        {
            CategoryCollection coll = new CategoryCollection();
            Query qry = new Query(Category.Schema);

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