public PnCapacitadoCollection FetchByQuery(Query qry) { PnCapacitadoCollection coll = new PnCapacitadoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnCapacitadoCollection FetchAll() { PnCapacitadoCollection coll = new PnCapacitadoCollection(); Query qry = new Query(PnCapacitado.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }