public PnLogFacturaCollection FetchByQuery(Query qry)
        {
            PnLogFacturaCollection coll = new PnLogFacturaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnLogFacturaCollection FetchAll()
        {
            PnLogFacturaCollection coll = new PnLogFacturaCollection();
            Query qry = new Query(PnLogFactura.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnLogFacturaCollection FetchByID(object IdLogFactura)
        {
            PnLogFacturaCollection coll = new PnLogFacturaCollection().Where("id_log_factura", IdLogFactura).Load();

            return(coll);
        }