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); }
public PnParametroCollection FetchByID(object IdParametro) { PnParametroCollection coll = new PnParametroCollection().Where("id_parametro", IdParametro).Load(); return(coll); }