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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public AnimalsSpecyCollection FetchAll()
        {
            AnimalsSpecyCollection coll = new AnimalsSpecyCollection();
            Query qry = new Query(AnimalsSpecy.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public AnimalsSpecyCollection FetchByID(object Id)
        {
            AnimalsSpecyCollection coll = new AnimalsSpecyCollection().Where("ID", Id).Load();

            return(coll);
        }