public AnimalsSpecyCollection FetchAll() { AnimalsSpecyCollection coll = new AnimalsSpecyCollection(); Query qry = new Query(AnimalsSpecy.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public AnimalsSpecyCollection FetchByQuery(Query qry) { AnimalsSpecyCollection coll = new AnimalsSpecyCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public AnimalsSpecyCollection FetchByID(object Id) { AnimalsSpecyCollection coll = new AnimalsSpecyCollection().Where("ID", Id).Load(); return coll; }