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