예제 #1
0
        public AnimalsSpecyCollection FetchByQuery(Query qry)
        {
            AnimalsSpecyCollection coll = new AnimalsSpecyCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public AnimalsSpecyCollection FetchAll()
        {
            AnimalsSpecyCollection coll = new AnimalsSpecyCollection();
            Query qry = new Query(AnimalsSpecy.Schema);

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