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