Exemple #1
0
        public PnIngresoCollection FetchByQuery(Query qry)
        {
            PnIngresoCollection coll = new PnIngresoCollection();

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

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

            return(coll);
        }