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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnPermisosSesionCollection FetchByID(object IdPermisosSesion)
        {
            PnPermisosSesionCollection coll = new PnPermisosSesionCollection().Where("id_permisos_sesion", IdPermisosSesion).Load();

            return(coll);
        }