public PGenuCollection FetchAll() { PGenuCollection coll = new PGenuCollection(); Query qry = new Query(PGenu.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PGenuCollection FetchByQuery(Query qry) { PGenuCollection coll = new PGenuCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public PGenuCollection FetchByID(object GenRecID) { PGenuCollection coll = new PGenuCollection().Where("GenRecID", GenRecID).Load(); return coll; }