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