Example #1
0
        public AGenuCollection FetchByQuery(Query qry)
        {
            AGenuCollection coll = new AGenuCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public AGenuCollection FetchAll()
        {
            AGenuCollection coll = new AGenuCollection();
            Query           qry  = new Query(AGenu.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public AGenuCollection FetchByID(object Id)
        {
            AGenuCollection coll = new AGenuCollection().Where("ID", Id).Load();

            return(coll);
        }