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); }
public ConConsultaOdontologiumCollection FetchByID(object IdConsultaOdontologia) { ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection().Where("idConsultaOdontologia", IdConsultaOdontologia).Load(); return(coll); }