public PnVacApliCollection FetchByQuery(Query qry) { PnVacApliCollection coll = new PnVacApliCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnVacApliCollection FetchAll() { PnVacApliCollection coll = new PnVacApliCollection(); Query qry = new Query(PnVacApli.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnVacApliCollection FetchByID(object IdVacApli) { PnVacApliCollection coll = new PnVacApliCollection().Where("id_vac_apli", IdVacApli).Load(); return(coll); }