public EmrPupilaCollection FetchByQuery(Query qry) { EmrPupilaCollection coll = new EmrPupilaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public EmrPupilaCollection FetchAll() { EmrPupilaCollection coll = new EmrPupilaCollection(); Query qry = new Query(EmrPupila.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public EmrPupilaCollection FetchByID(object IdPupilas) { EmrPupilaCollection coll = new EmrPupilaCollection().Where("idPupilas", IdPupilas).Load(); return(coll); }