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); }
public JmCertificadoMedicoCollection FetchByID(object IdCertificadoMedico) { JmCertificadoMedicoCollection coll = new JmCertificadoMedicoCollection().Where("idCertificadoMedico", IdCertificadoMedico).Load(); return(coll); }