Beispiel #1
0
        public PnPermisoCollection FetchByQuery(Query qry)
        {
            PnPermisoCollection coll = new PnPermisoCollection();

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

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

            return(coll);
        }