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