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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnPermisoCollection FetchByID(object IdPermiso)
        {
            PnPermisoCollection coll = new PnPermisoCollection().Where("id_permiso", IdPermiso).Load();

            return(coll);
        }