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