Esempio n. 1
0
        public PnPermisosGrupoCollection FetchByQuery(Query qry)
        {
            PnPermisosGrupoCollection coll = new PnPermisosGrupoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public PnPermisosGrupoCollection FetchAll()
        {
            PnPermisosGrupoCollection coll = new PnPermisosGrupoCollection();
            Query qry = new Query(PnPermisosGrupo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public PnPermisosGrupoCollection FetchByID(object IdPg)
        {
            PnPermisosGrupoCollection coll = new PnPermisosGrupoCollection().Where("id_pg", IdPg).Load();

            return(coll);
        }