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

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

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