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