Пример #1
0
        public PnFacturaCollection FetchByQuery(Query qry)
        {
            PnFacturaCollection coll = new PnFacturaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnFacturaCollection FetchAll()
        {
            PnFacturaCollection coll = new PnFacturaCollection();
            Query qry = new Query(PnFactura.Schema);

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