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