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