public SysNivelInstruccionCollection FetchByQuery(Query qry)
        {
            SysNivelInstruccionCollection coll = new SysNivelInstruccionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysNivelInstruccionCollection FetchAll()
        {
            SysNivelInstruccionCollection coll = new SysNivelInstruccionCollection();
            Query qry = new Query(SysNivelInstruccion.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysNivelInstruccionCollection FetchByID(object IdNivelInstruccion)
        {
            SysNivelInstruccionCollection coll = new SysNivelInstruccionCollection().Where("idNivelInstruccion", IdNivelInstruccion).Load();

            return(coll);
        }