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

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

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

            return(coll);
        }