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