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