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

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

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

            return(coll);
        }