コード例 #1
0
        public MamTratamientoCollection FetchByQuery(Query qry)
        {
            MamTratamientoCollection coll = new MamTratamientoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public MamTratamientoCollection FetchAll()
        {
            MamTratamientoCollection coll = new MamTratamientoCollection();
            Query qry = new Query(MamTratamiento.Schema);

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