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