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