public RemMedicamentoCronicoCollection FetchByQuery(Query qry) { RemMedicamentoCronicoCollection coll = new RemMedicamentoCronicoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RemMedicamentoCronicoCollection FetchAll() { RemMedicamentoCronicoCollection coll = new RemMedicamentoCronicoCollection(); Query qry = new Query(RemMedicamentoCronico.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RemMedicamentoCronicoCollection FetchByID(object IdMedicamentoCronico) { RemMedicamentoCronicoCollection coll = new RemMedicamentoCronicoCollection().Where("idMedicamentoCronico", IdMedicamentoCronico).Load(); return(coll); }