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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public PnCreditoCollection FetchAll()
        {
            PnCreditoCollection coll = new PnCreditoCollection();
            Query qry = new Query(PnCredito.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public PnCreditoCollection FetchByID(object IdCredito)
        {
            PnCreditoCollection coll = new PnCreditoCollection().Where("id_credito", IdCredito).Load();

            return(coll);
        }