예제 #1
0
        public ConConsultaOdontologiumCollection FetchByQuery(Query qry)
        {
            ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public ConConsultaOdontologiumCollection FetchAll()
        {
            ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection();
            Query qry = new Query(ConConsultaOdontologium.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public ConConsultaOdontologiumCollection FetchByID(object IdConsultaOdontologia)
        {
            ConConsultaOdontologiumCollection coll = new ConConsultaOdontologiumCollection().Where("idConsultaOdontologia", IdConsultaOdontologia).Load();

            return(coll);
        }