コード例 #1
0
        public PnGrupoPrestacionCollection FetchByQuery(Query qry)
        {
            PnGrupoPrestacionCollection coll = new PnGrupoPrestacionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public PnGrupoPrestacionCollection FetchAll()
        {
            PnGrupoPrestacionCollection coll = new PnGrupoPrestacionCollection();
            Query qry = new Query(PnGrupoPrestacion.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public PnGrupoPrestacionCollection FetchByID(object IdGrupoPrestacion)
        {
            PnGrupoPrestacionCollection coll = new PnGrupoPrestacionCollection().Where("id_grupo_prestacion", IdGrupoPrestacion).Load();

            return(coll);
        }