public PnAreaCollection FetchByQuery(Query qry) { PnAreaCollection coll = new PnAreaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnAreaCollection FetchAll() { PnAreaCollection coll = new PnAreaCollection(); Query qry = new Query(PnArea.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnAreaCollection FetchByID(object IdArea) { PnAreaCollection coll = new PnAreaCollection().Where("id_area", IdArea).Load(); return(coll); }