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