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