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

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

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

            return(coll);
        }