public BdsHemocomponenteCollection FetchByQuery(Query qry) { BdsHemocomponenteCollection coll = new BdsHemocomponenteCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public BdsHemocomponenteCollection FetchAll() { BdsHemocomponenteCollection coll = new BdsHemocomponenteCollection(); Query qry = new Query(BdsHemocomponente.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public BdsHemocomponenteCollection FetchByID(object IdHemocomponente) { BdsHemocomponenteCollection coll = new BdsHemocomponenteCollection().Where("idHemocomponente", IdHemocomponente).Load(); return(coll); }