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