예제 #1
0
        public PnLogPrestacionCollection FetchByQuery(Query qry)
        {
            PnLogPrestacionCollection coll = new PnLogPrestacionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PnLogPrestacionCollection FetchAll()
        {
            PnLogPrestacionCollection coll = new PnLogPrestacionCollection();
            Query qry = new Query(PnLogPrestacion.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }