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