예제 #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);
        }