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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnCategoriaCollection FetchByID(object IdCategoria)
        {
            PnCategoriaCollection coll = new PnCategoriaCollection().Where("id_categoria", IdCategoria).Load();

            return(coll);
        }