public SysHistoriaClinicaCollection FetchByQuery(Query qry) { SysHistoriaClinicaCollection coll = new SysHistoriaClinicaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysHistoriaClinicaCollection FetchAll() { SysHistoriaClinicaCollection coll = new SysHistoriaClinicaCollection(); Query qry = new Query(SysHistoriaClinica.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }