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