public PnVacunaCollection FetchByQuery(Query qry) { PnVacunaCollection coll = new PnVacunaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnVacunaCollection FetchAll() { PnVacunaCollection coll = new PnVacunaCollection(); Query qry = new Query(PnVacuna.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnVacunaCollection FetchByID(object IdVacunas) { PnVacunaCollection coll = new PnVacunaCollection().Where("id_vacunas", IdVacunas).Load(); return(coll); }