Exemplo n.º 1
0
        public PnGrupoCollection FetchByQuery(Query qry)
        {
            PnGrupoCollection coll = new PnGrupoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PnGrupoCollection FetchAll()
        {
            PnGrupoCollection coll = new PnGrupoCollection();
            Query             qry  = new Query(PnGrupo.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public PnGrupoCollection FetchByID(object IdGrupo)
        {
            PnGrupoCollection coll = new PnGrupoCollection().Where("id_grupo", IdGrupo).Load();

            return(coll);
        }