Example #1
0
        public AprControlOdontologicoCollection FetchByQuery(Query qry)
        {
            AprControlOdontologicoCollection coll = new AprControlOdontologicoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public AprControlOdontologicoCollection FetchAll()
        {
            AprControlOdontologicoCollection coll = new AprControlOdontologicoCollection();
            Query qry = new Query(AprControlOdontologico.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }